| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | class Renderer |
||
| 27 | { |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var TemplateRendererInterface |
||
| 31 | */ |
||
| 32 | private $adapter; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param TemplateRendererInterface $adapter |
||
| 36 | */ |
||
| 37 | public function __construct(TemplateRendererInterface $adapter) |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return TemplateRendererInterface |
||
| 44 | */ |
||
| 45 | public function getAdapter(): TemplateRendererInterface |
||
| 46 | { |
||
| 47 | return $this->adapter; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param string $method |
||
| 52 | * @param array|null $arguments |
||
| 53 | * @return mixed |
||
| 54 | * @throws BaseException |
||
| 55 | */ |
||
| 56 | public function __call(string $method, ?array $arguments) |
||
| 63 | } |
||
| 64 | } |