$class * * @return ReflectionClass|null * @psalm-return ReflectionClass|null * * @template T of object */ public function getClass(string $class); /** * Returns an accessible property (setAccessible(true)) or null. * * @psalm-param class-string $class * * @return ReflectionProperty|null */ public function getAccessibleProperty(string $class, string $property); /** * Checks if the class have a public method with the given name. * * @psalm-param class-string $class * * @return bool */ public function hasPublicMethod(string $class, string $method); }