Пример #1
0
 function get($id, $default = null)
 {
     $return = parent::get($id);
     $return = !isset($return) ? $default : $return;
     return $this->_cast($id, $return);
 }
Пример #2
0
 /**
  * @return aregistry mixed if key used
  */
 function get_storage($key = null)
 {
     return isset($key) ? $this->storage->get($key) : $this->storage;
 }