src/Controller/MelisAuthController.php
public function identityMenuAction()
    {
        $melisKey = $this->params()->fromRoute('melisKey', '');

        $melisCoreAuth = $this->serviceLocator->get('MelisCoreAuth');

        $userAuthDatas = $melisCoreAuth->getStorage()->read();

        $view = new ViewModel();
        $view->melisKey = $melisKey;
        $view->setVariable('userAuthDatas', $userAuthDatas);

        return $view;
    }
public function identityMenuAction()
    {
        $melisKey = $this->params()->fromRoute('melisKey', '');

        $melisCoreAuth = $this->serviceLocator->get('MelisCoreAuth');

        $userAuthDatas = $melisCoreAuth->getStorage()->read();

        $view = new ViewModel();
        $view->melisKey = $melisKey;
        $view->setVariable('userAuthDatas', $userAuthDatas);

        return $view;
    }
public function identityMenuAction ( ) { $ melisKey = $ this -> params ( ) -> fromRoute ( 'melisKey' , '' ) ; $ melisCoreAuth = $ this -> serviceLocator -> get ( 'MelisCoreAuth' ) ; $ userAuthDatas = $ melisCoreAuth -> getStorage ( ) -> read ( ) ; $ view = new ViewModel ( ) ; $ view -> melisKey = $ melisKey ; $ view -> setVariable ( 'userAuthDatas' , $ userAuthDatas ) ; return $ view ; }
Shows identity zone in the left menu

@return \Zend\View\Model\ViewModel
Shows identity zone in the left menu