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