ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Item.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 abstract 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