public function AnnotationBridgeDecorator::__call in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecorator.php \Drupal\Component\Annotation\Plugin\Discovery\AnnotationBridgeDecorator::__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/ Annotation/ Plugin/ Discovery/ AnnotationBridgeDecorator.php, line 71
Class
- AnnotationBridgeDecorator
- Ensures that all definitions are run through the annotation process.
Namespace
Drupal\Component\Annotation\Plugin\DiscoveryCode
public function __call($method, $args) {
return call_user_func_array([
$this->decorated,
$method,
], $args);
}