public function AlterDecorator::__call

Passes through all unknown calls onto the decorated object.

File

drupal/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php, line 66
Definition of Drupal\Core\Plugin\Discovery\AlterDiscoveryDecorator.

Class

AlterDecorator
Enables altering of discovered plugin definitions.

Namespace

Drupal\Core\Plugin\Discovery

Code

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