3 declare(strict_types=1);
57 $items_to_merge[] = $provider->getMetaBarItems();
59 $this->items = array_merge([], ...$items_to_merge);
93 return count($this->items) > 0;
115 return function (
isItem &$item):
void {
117 $children = $item->getChildren();
119 $item = $item->withChildren($children);
126 return static function (
isItem $item):
bool {
127 return ($item->isAvailable() && $item->isVisible());
__construct(array $providers)
MetaBarMainCollector constructor.
Class AbstractBaseCollector.
cleanupItemsForUIRepresentation()
prepareItemsForUIRepresentation()
filterItemsByVisibilty(bool $async_only=false)
sortItemsForUIRepresentation()
Class MetaBarMainCollector.
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples
getItemsForUIRepresentation()