| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class ScheduleTimezoneSubscriber implements EventSubscriberInterface |
||
| 12 | { |
||
| 13 | /** @var string */ |
||
| 14 | private $timezone; |
||
| 15 | 1 | ||
| 16 | public function __construct(string $timezone) |
||
| 17 | 1 | { |
|
| 18 | 1 | $this->timezone = $timezone; |
|
| 19 | } |
||
| 20 | 1 | ||
| 21 | public static function getSubscribedEvents(): array |
||
| 24 | } |
||
| 25 | 1 | ||
| 26 | public function setTimezone(BuildScheduleEvent $event): void |
||
| 29 | } |
||
| 30 | } |
||
| 31 |