ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Item.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27abstract class Item implements \Stringable
28{
29 public function __construct(
30 private string $path_inside_zip,
31 private string $title,
32 ) {
33 }
34
35 public function __toString(): string
36 {
37 return $this->title;
38 }
39
40 public function getTitle(): string
41 {
42 return $this->title;
43 }
44
45 public function getPathInsideZIP(): string
46 {
47 return $this->path_inside_zip;
48 }
49
50}
__construct(private string $path_inside_zip, private string $title,)
Definition: Item.php:29