src/MenuFactory.php
Method __invoke
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __invoke(ContainerInterface $container): Menu
{
assert($container instanceof ServiceLocatorInterface);
$plugin = $container->get(ViewPluginManager::class);