1 | <?php |
||
21 | abstract class AbstractTimerSubscriber implements EventSubscriberInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var TimerInterface |
||
25 | */ |
||
26 | private $timer; |
||
27 | |||
28 | /** |
||
29 | * @param TimerInterface|null $timer |
||
30 | */ |
||
31 | 144 | public function __construct(TimerInterface $timer = null) |
|
35 | |||
36 | /** |
||
37 | * @return TimerInterface |
||
38 | */ |
||
39 | 108 | public function getTimer() |
|
43 | } |
||
44 |