-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
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
RobotAutoloader not load a interface #29
Comments
This is by design, RobotLoader only loads classes that are always defined and not just in a condition. |
Yes, i get it, but there is a workaround to load it ? Maybe with custom variable ? |
When i change the content of the file to:
everything is fine and worked correctly... I'm on PHP 8.1. Maybe the other part with if is not needed... |
I tried adding $topLevelOnly 3ccc6fd. Try dev-master pls. |
No, not working.. I update with dev master and delete the cache, but in the new cache doesnt find the class.. Only in the bottom: Now i try to add $loader->topLevelOnly = true; but without success... |
Did you delete cache? |
Yes - 3 times. |
Then I don't know what the problem is... |
Version: Last
I see this error - stripe/stripe-php#1601 in my stripe api.
I write there and i write here :)
The error is because autoloader not load a exception interface. I open the cache and i see only one interface:
in the bottom of the cache i see this:
'C:\\xampp2\\htdocs\\ext\\pok4\\shop\\stripe\\lib\\Exception\\ExceptionInterface.php' => 1696003164,
maybe this is the problem - this is not load in the above clasess...
The content of this file is
Do you have any ideas how to load this in robotautoloader ?
The text was updated successfully, but these errors were encountered: