| 1 | <?php |
||
| 17 | trait TemplateResolverDecoratorTrait |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var TemplateResolver |
||
| 21 | */ |
||
| 22 | protected $template_resolver; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Initializes the {@link $template_resolver} property. |
||
| 26 | * |
||
| 27 | * @param TemplateResolver $template_resolver |
||
| 28 | */ |
||
| 29 | public function __construct(TemplateResolver $template_resolver) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Clones {@link $template_resolver}. |
||
| 36 | */ |
||
| 37 | public function __clone() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Forwards unsupported calls to the decorated template resolver. |
||
| 44 | * |
||
| 45 | * @param string $method |
||
| 46 | * @param array $arguments |
||
| 47 | * |
||
| 48 | * @return mixed |
||
| 49 | */ |
||
| 50 | public function __call($method, $arguments) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @inheritdoc |
||
| 57 | */ |
||
| 58 | public function find_renderer($class) |
||
| 77 | } |
||
| 78 |