Ejemplo n.º 1
0
 /**
  * Returns the contents of storage
  *
  * Behavior is undefined when storage is empty.
  *
  * @see Zend_Auth_Storage
  * @throws Zend_Auth_Storage_Exception If reading contents from storage is impossible
  * @return mixed
  */
 public function read()
 {
     if ($this->isEmpty()) {
         // TODO: I18n
         Nova::throwException('user/authStorageAccessError', 'User account storage is empty');
     }
     // TODO: implement logic
 }