| 1 | <?php |
||
| 23 | final class OrmMenuProvider implements MenuProviderInterface |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var MenuItemRepositoryInterface |
||
| 27 | */ |
||
| 28 | private $repository; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * MenuProvider constructor. |
||
| 32 | * |
||
| 33 | * @param MenuItemRepositoryInterface $repository |
||
| 34 | */ |
||
| 35 | 87 | public function __construct(MenuItemRepositoryInterface $repository) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | 3 | public function get($name, array $options = []) |
|
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | 3 | public function has($name, array $options = []) |
|
| 63 | } |
||
| 64 |