* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\UserBundle\Menu; use Knp\Menu\ItemInterface; use Symfony\Component\EventDispatcher\Event; /** * @author Hugo Briand */ class ProfileMenuEvent extends Event { /** * @var ItemInterface */ private $menu; /** * @param ItemInterface $menu */ public function __construct(ItemInterface $menu) { $this->menu = $menu; } /** * @return ItemInterface */ public function getMenu() { return $this->menu; } }