public function pop($name)
    {
        $previousValue = $this->get($name);

        $value = array_pop($previousValue);

        $this->create($name, $previousValue);

        return $value;
    }
public function pop($name)
    {
        $previousValue = $this->get($name);

        $value = array_pop($previousValue);

        $this->create($name, $previousValue);

        return $value;
    }
public function pop ( $ name ) { $ previousValue = $ this -> get ( $ name ) ; $ value = array_pop ( $ previousValue ) ; $ this -> create ( $ name , $ previousValue ) ; return $ value ; }
To pop session data from session array

@param string $name

@return string
To pop session data from session array