We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in this example:
use Brick\Reflection\ImportResolver; $class = new ReflectionClass(App\Test::class); $resolver = new ImportResolver($class); echo $resolver->resolve('\Some\FQCN\Class'); // Some\FQCN\Class echo $resolver->resolve('Something'); // App\Something echo $resolver->resolve('Something\Else'); // App\Something\Else echo $resolver->resolve('Bar'); // Foo\Bar echo $resolver->resolve('Bar\tender'); // Foo\Bar\tender echo $resolver->resolve('Alias'); // Foo\Bar\Baz echo $resolver->resolve('Alias\ooka'); // Foo\Bar\Baz\ooka
you are using a string of the declared class: App\Test::clas
App\Test::clas
Can you extend your class to parse objects in which the instance of a class is stored?
$class = new ReflectionClass($classObject);
The text was updated successfully, but these errors were encountered:
I'm sorry, I don't understand your question!
Sorry, something went wrong.
No branches or pull requests
in this example:
you are using a string of the declared class:
App\Test::clas
Can you extend your class to parse objects in which the instance of a class is stored?
The text was updated successfully, but these errors were encountered: