-
-
Notifications
You must be signed in to change notification settings - Fork 324
PSR4 support #182
Copy link
Copy link
Closed
Labels
Description
I just installed PHP-DI via composer.
Somehow my config is failing on these lines since it can't resolve the files using autoloading.
DI\object("MyNamespace\\Myclass")
PHP Fatal error: Class 'DI\object' not found
in the vendor/composer/autoload_files.php file I see the functions file is registered. However I think this file is only used for PSR-0 which makes PHP-DI kind of unusable for projects requiring PSR-4.
Is there any workarround available to make it work? When will a fix be released?
Reactions are currently unavailable