| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | class Availability implements IIconSection { |
||
| 31 | |||
| 32 | /** @var IL10N */ |
||
| 33 | private $l; |
||
| 34 | |||
| 35 | /** @var IURLGenerator */ |
||
| 36 | private $urlGenerator; |
||
| 37 | |||
| 38 | public function __construct(IL10N $l, IURLGenerator $urlGenerator) { |
||
| 39 | $this->l = $l; |
||
| 40 | $this->urlGenerator = $urlGenerator; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getIcon(): string { |
||
| 44 | return $this->urlGenerator->imagePath('dav', 'schedule.svg'); |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getID(): string { |
||
| 49 | } |
||
| 50 | |||
| 51 | public function getName(): string { |
||
| 52 | return $this->l->t('Availability'); |
||
| 53 | } |
||
| 54 | |||
| 55 | public function getPriority(): int { |
||
| 57 | } |
||
| 58 | } |
||
| 59 |