ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
LinkFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
26 {
27  protected \ilCtrlInterface $ctrl;
29 
33  protected array $parameters = [];
34  protected Command $command;
35 
36  public function __construct(
37  \ilCtrlInterface $ctrl,
38  DataFactory $data_factory
39  ) {
40  $this->ctrl = $ctrl;
41  $this->data_factory = $data_factory;
42  }
43 
44  public function custom(Command $command): LinkBuilderInterface
45  {
46  return new LinkBuilder($this->ctrl, $this->data_factory, $command);
47  }
48 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(\ilCtrlInterface $ctrl, DataFactory $data_factory)
Definition: LinkFactory.php:36