| 1 | <?php |
||
| 18 | class Builder |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var FactoryInterface |
||
| 22 | */ |
||
| 23 | private $factory; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var AuthorizationChecker |
||
| 27 | */ |
||
| 28 | private $security; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param FactoryInterface $factory |
||
| 32 | * @param AuthorizationChecker $security |
||
| 33 | * |
||
| 34 | * Add any other dependency you need |
||
| 35 | */ |
||
| 36 | public function __construct(FactoryInterface $factory, AuthorizationChecker $security) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Create the side menu. |
||
| 44 | * |
||
| 45 | * @return ItemInterface |
||
| 46 | */ |
||
| 47 | public function createSideMenu() |
||
| 76 | } |
||
| 77 |