DigiComp.Menu/Classes/MenuService/ServiceInterface.php

26 lines
534 B
PHP

<?php
namespace DigiComp\Menu\MenuService;
/*
* 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
*/
interface ServiceInterface
{
/**
* @param string|null $forPath
*
* @return array|\Iterator
*/
public function getItems(string $forPath = null): \Iterator;
}