/** * Returns a value from the session * * @param String $key The key of the value to return * @return Mixed */ public function get($key) { return $this->untransform(parent::get($key)); }
/** * Returns all the values in the session * * @return Array */ public function getAll() { $root = parent::get($this->namespace); return is_array($root) ? $root : array(); }