| 1 | <?php |
||
| 6 | class RendererRepository |
||
| 7 | { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | private $reportConfig; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | private $renderer = []; |
||
| 18 | |||
| 19 | public function __construct(array $reportConfig = []) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return $this |
||
| 26 | */ |
||
| 27 | public function setConfig(array $reportConfig = []) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return $this |
||
| 36 | */ |
||
| 37 | public function add($orientation, RendererInterface $renderer) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return RendererInterface |
||
| 46 | */ |
||
| 47 | public function getRendererForNode($nodeId) |
||
| 56 | |||
| 57 | } |
||
| 58 |