privatefunctioncomputeHash(): string { try{ $this->classReflector ??= new \ReflectionClass($this->className); }catch(\ReflectionException){ // the class does not exist anymore
privatefunctiongetDocBlockFromProperty(string $class, string $property): ?DocBlock { // Use a ReflectionProperty instead of $class to get the parent class if applicable
try{ $reflectionProperty = new \ReflectionProperty($class, $property); }catch(\ReflectionException){ return null; }