Group.php
42 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWP_SCOPED\IAWP\Tables\Groups; |
| 4 | |
| 5 | /** @internal */ |
| 6 | class Group |
| 7 | { |
| 8 | private $id; |
| 9 | private $singular; |
| 10 | private $plural; |
| 11 | private $rows_class; |
| 12 | private $statistics_class; |
| 13 | public function __construct(string $id, string $singular, string $plural, string $rows_class, string $statistics_class) |
| 14 | { |
| 15 | $this->id = $id; |
| 16 | $this->singular = $singular; |
| 17 | $this->plural = $plural; |
| 18 | $this->rows_class = $rows_class; |
| 19 | $this->statistics_class = $statistics_class; |
| 20 | } |
| 21 | public function id() : string |
| 22 | { |
| 23 | return $this->id; |
| 24 | } |
| 25 | public function singular() : string |
| 26 | { |
| 27 | return $this->singular; |
| 28 | } |
| 29 | public function plural() : string |
| 30 | { |
| 31 | return $this->plural; |
| 32 | } |
| 33 | public function rows_class() : string |
| 34 | { |
| 35 | return $this->rows_class; |
| 36 | } |
| 37 | public function statistics_class() : string |
| 38 | { |
| 39 | return $this->statistics_class; |
| 40 | } |
| 41 | } |
| 42 |