You are here

public function YamlDiscoveryDecorator::__call in Plug 7

Passes through all unknown calls onto the decorated object.

File

lib/Drupal/Core/Plugin/Discovery/YamlDiscoveryDecorator.php, line 54
Contains \Drupal\Core\Plugin\Discovery\YamlDiscoveryDecorator.

Class

YamlDiscoveryDecorator
Enables YAML discovery for plugin definitions.

Namespace

Drupal\Core\Plugin\Discovery

Code

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