for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Nexendrie\Menu;
use Nexendrie\Utils\Collection as BaseCollection;
/**
* Collection of menu items
*
* @author Jakub Konečný
* @internal
* @property-read MenuItem[] $allowedItems
*/
abstract class Collection extends BaseCollection {
use \Nette\SmartObject;
protected string $class = MenuItem::class;
* @return MenuItem[]
* @deprecated Access the property directly
public function getAllowedItems(): array {
return $this->getItems(["allowed" => true]);
}
?>