Пример #1
0
 /**
  * @param bool $needed OPTIONAL Throw an CM_Exception_AuthRequired if not authenticated
  * @return CM_Model_User|null
  * @throws CM_Exception_AuthRequired
  */
 public function getViewer($needed = false)
 {
     return $this->_request->getViewer($needed);
 }