| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class EntityViewType implements ViewTypeInterface |
||
| 22 | { |
||
| 23 | private mixed $data; |
||
| 24 | |||
| 25 | public function __construct( |
||
| 26 | private UrlGeneratorInterface $urlGenerator, |
||
| 27 | private SectionManagerInterface $sectionManager, |
||
| 28 | ) { |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getName(): string |
||
| 32 | { |
||
| 33 | return 'entity'; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function setData($data) |
||
| 39 | } |
||
| 40 | |||
| 41 | public function getHtmlOutput(): string |
||
| 52 | } |
||
| 53 | } |
||
| 54 |