Пример #1
0
 /**
  * Treats the key as an array and pops value from the end of it
  *
  * @param String $key The key to pop a value off of
  * @return Mixed Returns the popped value
  */
 public function pop($key)
 {
     return $this->decorated->pop($key);
 }
Пример #2
0
 /**
  * Treats the session value as an array and pops value from the end of it
  *
  * @return Mixed Returns the popped value
  */
 public function pop()
 {
     return $this->session->pop($this->key);
 }