src/Kunstmaan/AdminBundle/Helper/Menu/MenuBuilder.php
public function addAdaptMenu(MenuAdaptorInterface $adaptor, $priority = 0)
    {
        $this->adaptors[$priority][] = $adaptor;
        unset($this->sorted);
    }
public function addAdaptMenu(MenuAdaptorInterface $adaptor, $priority = 0)
    {
        $this->adaptors[$priority][] = $adaptor;
        unset($this->sorted);
    }
public function addAdaptMenu ( MenuAdaptorInterface $ adaptor , $ priority = 0 ) { $ this -> adaptors [ $ priority ] [ ] = $ adaptor ; unset ( $ this -> sorted ) ; }
Add menu adaptor

@param MenuAdaptorInterface $adaptor
Add menu adaptor