Ejemplo n.º 1
0
 /**
  * Treats the key as an array and pushes a new value onto the end of it
  *
  * @param String $key The key to push on to
  * @param Mixed $value The value to push
  * @return \r8\iface\Session Returns a self reference
  */
 public function push($key, $value)
 {
     $this->decorated->push($key, $value);
     return $this;
 }
Ejemplo n.º 2
0
 /**
  * Treats the session value as an array and pushes a new value onto the end of it
  *
  * @param Mixed $value The value to push
  * @return \r8\Session\Value Returns a self reference
  */
 public function push($value)
 {
     $this->session->push($this->key, $value);
     return $this;
 }