mirror of
https://github.com/symfony/class-loader.git
synced 2026-03-25 09:42:23 +01:00
[PR #6] Add __call() to XcacheClassLoader #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/symfony/class-loader/pull/6
State: closed
Merged: No
XcacheClassLoader does not implement __call() to forward methods (such as addPsr4()) to the decorated object. I think this is an oversight, although I might be missing something. I just copied the code over from ApcClassLoader, which does implement __call().
This allows to use XcacheClassLoader with Drupal 8, as the addPsr4() method is used there.