for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\UiBundle\Menu;
use Knp\Menu\FactoryInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
/**
* @author Paweł Jędrzejewski <[email protected]>
abstract class AbstractMenuBuilder
{
* @var FactoryInterface
protected $factory;
* @var EventDispatcherInterface
protected $eventDispatcher;
* @param FactoryInterface $factory
* @param EventDispatcherInterface $eventDispatcher
public function __construct(
FactoryInterface $factory,
EventDispatcherInterface $eventDispatcher
) {
$this->factory = $factory;
$this->eventDispatcher = $eventDispatcher;
}