ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Table.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ILIAS\UI\Implementation\Component\ComponentHelper;
25
26abstract 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
clone(int $target_parent_obj_id)