function AttributeBridgeDecorator::__call
Same name in other branches
- 10 core/lib/Drupal/Component/Plugin/Discovery/AttributeBridgeDecorator.php \Drupal\Component\Plugin\Discovery\AttributeBridgeDecorator::__call()
Passes through all unknown calls onto the decorated object.
Parameters
string $method: The method to call on the decorated plugin discovery.
array $args: The arguments to send to the method.
Return value
mixed The method result.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Discovery/ AttributeBridgeDecorator.php, line 65
Class
- AttributeBridgeDecorator
- Ensures that all definitions are run through the attribute process.
Namespace
Drupal\Component\Plugin\DiscoveryCode
public function __call($method, $args) {
return $this->decorated
->{$method}(...$args);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.