ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullIcon.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\File\Icon;
22
26class NullIcon implements Icon
27{
28 public function __construct(
29 private string $rid = "",
30 private bool $active = false,
31 private bool $is_default_icon = false,
32 private array $suffixes = []
33 ) {
34 }
35
36 public function getRid(): string
37 {
38 return $this->rid;
39 }
40
41 public function isActive(): bool
42 {
43 return $this->active;
44 }
45
46 public function isDefaultIcon(): bool
47 {
48 return $this->is_default_icon;
49 }
50
54 public function getSuffixes(): array
55 {
56 return $this->suffixes;
57 }
58}
__construct(private string $rid="", private bool $active=false, private bool $is_default_icon=false, private array $suffixes=[])
Definition: NullIcon.php:28