public function callbackItemClick(ManialinkInterface $manialink, $login, $params, $args)
    {
        $this->menuContentFactory->create($login);

        /** @var ItemInterface $item */
        $item = $args['item'];
        $item->execute($this->menuContentFactory, $manialink, $login, $params, $args);
    }
public function callbackItemClick(ManialinkInterface $manialink, $login, $params, $args)
    {
        $this->menuContentFactory->create($login);

        /** @var ItemInterface $item */
        $item = $args['item'];
        $item->execute($this->menuContentFactory, $manialink, $login, $params, $args);
    }
public function callbackItemClick ( ManialinkInterface $ manialink , $ login , $ params , $ args ) { $ this -> menuContentFactory -> create ( $ login ) ; /** @var ItemInterface $item */ $ item = $ args [ 'item' ] ; $ item -> execute ( $ this -> menuContentFactory , $ manialink , $ login , $ params , $ args ) ; }
Callback when an item of the menu is clicked on.

@param ManialinkInterface $manialink
@param                    $login
@param                    $params
@param                    $args
Callback when an item of the menu is clicked on .