ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Table.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
26 abstract class Table implements T\Table
27 {
28  use ComponentHelper;
29 
30  protected string $title;
31 
32  public function __construct(
33  string $title
34  ) {
35  $this->title = $title;
36  }
37 
41  public function withTitle(string $title): T\Table
42  {
43  $clone = clone $this;
44  $clone->title = $title;
45  return $clone;
46  }
47 
51  public function getTitle(): string
52  {
53  return $this->title;
54  }
55 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...