| 1 | <?php |
||
| 21 | abstract class AbstractMenuBuilder implements MenuBuilderInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var FactoryInterface |
||
| 25 | */ |
||
| 26 | private $factory; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var EventDispatcherInterface |
||
| 30 | */ |
||
| 31 | private $eventDispatcher; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param FactoryInterface $factory |
||
| 35 | * @param EventDispatcherInterface $eventDispatcher |
||
| 36 | */ |
||
| 37 | 2 | public function __construct(FactoryInterface $factory, EventDispatcherInterface $eventDispatcher) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @return ItemInterface |
||
| 45 | */ |
||
| 46 | 1 | public function create() |
|
| 55 | } |
||
| 56 |