ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Horizontal.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
23 use ILIAS\UI\Component as C;
25 
29 class Horizontal implements C\Divider\Horizontal
30 {
31  use ComponentHelper;
32 
33  protected ?string $label = null;
34 
35  public function __construct()
36  {
37  }
38 
42  public function getLabel(): ?string
43  {
44  return $this->label;
45  }
46 
50  public function withLabel(string $label): C\Divider\Horizontal
51  {
52  $this->checkStringArg("label", $label);
53  $clone = clone $this;
54  $clone->label = $label;
55  return $clone;
56  }
57 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21