public function CacheDecorator::__call

Passes through all unknown calls onto the decorated object.

File

drupal/core/lib/Drupal/Core/Plugin/Discovery/CacheDecorator.php, line 172
Definition of Drupal\Core\Plugin\Discovery\CacheDecorator.

Class

CacheDecorator
Enables static and persistent caching 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);
}