function xautoload_InjectedAPI_hookXautoload::namespaceHandler in X Autoload 7.2
Same name and namespace in other branches
- 7.5 legacy/lib/InjectedAPI/hookXautoload.php \xautoload_InjectedAPI_hookXautoload::namespaceHandler()
- 7.3 lib/InjectedAPI/hookXautoload.php \xautoload_InjectedAPI_hookXautoload::namespaceHandler()
- 7.4 legacy/lib/InjectedAPI/hookXautoload.php \xautoload_InjectedAPI_hookXautoload::namespaceHandler()
Legacy: Plugins were called "Handler" before.
File
- lib/
InjectedAPI/ hookXautoload.php, line 96
Class
- xautoload_InjectedAPI_hookXautoload
- An instance of this class is passed around to implementations of hook_xautoload().
Code
function namespaceHandler($namespace, $plugin) {
$this->finder
->registerNamespacePlugin($namespace, $plugin);
}