ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
Actions.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 class Actions
24 {
28 
29  public function __construct(
30  LinkProvider $link_provider,
31  ButtonFactory $button_factory,
32  ModalFactory $modal_factory
33  ) {
34  $this->link_provider = $link_provider;
35  $this->button_factory = $button_factory;
36  $this->modal_factory = $modal_factory;
37  }
38 
39  public function getModal(): ModalFactory
40  {
41  return $this->modal_factory;
42  }
43 
44  public function getButton(): ButtonFactory
45  {
46  return $this->button_factory;
47  }
48 
49  public function getLink(): LinkProvider
50  {
51  return $this->link_provider;
52  }
53 }
__construct(LinkProvider $link_provider, ButtonFactory $button_factory, ModalFactory $modal_factory)
Definition: Actions.php:29