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