You are here

public function DerivativeDiscoveryDecorator::__call in Plug 7

Passes through all unknown calls onto the decorated object.

File

lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php, line 245
Contains \Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator.

Class

DerivativeDiscoveryDecorator
Base class providing the tools for a plugin discovery to be derivative aware.

Namespace

Drupal\Component\Plugin\Discovery

Code

public function __call($method, $args) {
  return call_user_func_array(array(
    $this->decorated,
    $method,
  ), $args);
}