public function userAction()
    {
        $page = (int)$this->getEvent()->getRouteMatch()->getParam('page');
        $userId = (int)$this->getEvent()->getRouteMatch()->getParam('userId');

        $user = \SoliantEntityAudit\Module::getModuleOptions()->getEntityManager()
            ->getRepository(\SoliantEntityAudit\Module::getModuleOptions()->getUserEntityClassName())->find($userId);

        return array(
            'page' => $page,
            'user' => $user,
        );
    }
public function userAction()
    {
        $page = (int)$this->getEvent()->getRouteMatch()->getParam('page');
        $userId = (int)$this->getEvent()->getRouteMatch()->getParam('userId');

        $user = \SoliantEntityAudit\Module::getModuleOptions()->getEntityManager()
            ->getRepository(\SoliantEntityAudit\Module::getModuleOptions()->getUserEntityClassName())->find($userId);

        return array(
            'page' => $page,
            'user' => $user,
        );
    }
public function userAction ( ) { $ page = ( int ) $ this -> getEvent ( ) -> getRouteMatch ( ) -> getParam ( 'page' ) ; $ userId = ( int ) $ this -> getEvent ( ) -> getRouteMatch ( ) -> getParam ( 'userId' ) ; $ user = \ SoliantEntityAudit \ Module :: getModuleOptions ( ) -> getEntityManager ( ) -> getRepository ( \ SoliantEntityAudit \ Module :: getModuleOptions ( ) -> getUserEntityClassName ( ) ) -> find ( $ userId ) ; return array ( 'page' => $ page , 'user' => $ user , ) ; }
Renders a paginated list of revisions for the given user

@param int $page
Renders a paginated list of revisions for the given user