コード例 #1
0
ファイル: Transform.php プロジェクト: Nycto/Round-Eights
 /**
  * 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));
 }
コード例 #2
0
ファイル: Namespaced.php プロジェクト: Nycto/Round-Eights
 /**
  * Returns all the values in the session
  *
  * @return Array
  */
 public function getAll()
 {
     $root = parent::get($this->namespace);
     return is_array($root) ? $root : array();
 }