You are here

public function ExtensionManager::__call in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-feed/src/Reader/ExtensionManager.php \Zend\Feed\Reader\ExtensionManager::__call()
  2. 8 vendor/zendframework/zend-feed/src/Writer/ExtensionManager.php \Zend\Feed\Writer\ExtensionManager::__call()
Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/ExtensionManager.php \Zend\Feed\Reader\ExtensionManager::__call()

Method overloading

Proxy to composed ExtensionPluginManager instance.

Parameters

string $method:

array $args:

Return value

mixed

Throws

Exception\BadMethodCallException

File

vendor/zendframework/zend-feed/src/Reader/ExtensionManager.php, line 47

Class

ExtensionManager
Default implementation of ExtensionManagerInterface

Namespace

Zend\Feed\Reader

Code

public function __call($method, $args) {
  if (!method_exists($this->pluginManager, $method)) {
    throw new Exception\BadMethodCallException(sprintf('Method by name of %s does not exist in %s', $method, __CLASS__));
  }
  return call_user_func_array([
    $this->pluginManager,
    $method,
  ], $args);
}