Open M1ke opened 2 years ago
Resolves https://github.com/thephpleague/container/issues/237
To summarise that issue:
Foo\Bar
\Foo\Bar
Foo::class
class_exists
new $var
This aims to be backwards compatible and causes no test failures.
Resolves https://github.com/thephpleague/container/issues/237
To summarise that issue:
Foo\Bar
and also as\Foo\Bar
when used as a stringFoo::class
returnsFoo\Bar
but legitimate user code may handle as\Foo\Bar
and this would work forclass_exists
ornew $var
casesThis aims to be backwards compatible and causes no test failures.