mirror of
https://github.com/symfony/class-loader.git
synced 2026-03-24 01:02:11 +01:00
[PR #6] [CLOSED] Add __call() to XcacheClassLoader #1
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?
📋 Pull Request Information
Original PR: https://github.com/symfony/class-loader/pull/6
Author: @tstoeckler
Created: 8/21/2014
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
4e90bd4Add __call() to XcacheClassLoader📊 Changes
1 file changed (+9 additions, -0 deletions)
View changed files
📝
XcacheClassLoader.php(+9 -0)📄 Description
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.