DigiComp.Menu/Classes/MenuService/ServiceInterface.php

27 lines
530 B
PHP
Raw Normal View History

<?php
2021-05-12 02:01:22 +02:00
namespace DigiComp\Menu\MenuService;
2017-06-03 11:39:59 +02:00
/*
* This file is part of the DigiComp.Menu package.
*
* (c) digital competence
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.
*/
/**
* Interface for Menu-Configuration
*/
2017-06-03 11:39:59 +02:00
interface ServiceInterface
{
/**
* @param string|null $forPath
2017-06-03 11:39:59 +02:00
*
* @return array|\Iterator
*/
public function getItems(string $forPath = null): array;
}