| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class TestInjectionWidget extends Widget |
||
| 10 | { |
||
| 11 | private Injectable $injectable; |
||
| 12 | |||
| 13 | public function __construct(Injectable $injectable, EventDispatcherInterface $eventDispatcher) |
||
| 14 | { |
||
| 15 | $this->injectable = $injectable; |
||
| 16 | parent::__construct($eventDispatcher); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getInjectable(): Injectable |
||
| 20 | { |
||
| 21 | return $this->injectable; |
||
| 22 | } |
||
| 23 | |||
| 24 | protected function run(): string |
||
| 27 | } |
||
| 28 | } |
||
| 29 |