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