ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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  public function __construct(
31  protected string $title
32  ) {
33  }
34 
38  public function withTitle(string $title): self
39  {
40  $clone = clone $this;
41  $clone->title = $title;
42  return $clone;
43  }
44 
48  public function getTitle(): string
49  {
50  return $this->title;
51  }
52 }
__construct(protected string $title)
Definition: Table.php:30