ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
TableFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
30 
32 {
34  protected Renderer $renderer;
38 
39  public function __construct(
40  UIFactory $ui_factory,
41  Renderer $renderer,
42  PresenterInterface $presenter,
43  DataFinder $data_finder,
44  ButtonFactory $button_factory
45  ) {
46  $this->ui_factory = $ui_factory;
47  $this->renderer = $renderer;
48  $this->presenter = $presenter;
49  $this->data_finder = $data_finder;
50  $this->button_factory = $button_factory;
51  }
52 
53  public function table(): TableBuilder
54  {
55  return new TableBuilder(
56  $this->ui_factory,
57  $this->renderer,
58  $this->presenter,
59  $this->data_finder,
60  $this->button_factory
61  );
62  }
63 }
renderer()
__construct(UIFactory $ui_factory, Renderer $renderer, PresenterInterface $presenter, DataFinder $data_finder, ButtonFactory $button_factory)