lib/Lime/Helper/Cookie.php
public function getAndDelete($name, $path = '/', $domain = '', $secure = false, $http_only = false) {
        $value = $this->get($name);
        $this->delete($name, $path, $domain, $secure, $http_only);

        return $value;
    }
public function getAndDelete($name, $path = '/', $domain = '', $secure = false, $http_only = false) {
        $value = $this->get($name);
        $this->delete($name, $path, $domain, $secure, $http_only);

        return $value;
    }
public function getAndDelete ( $ name , $ path = '/' , $ domain = '' , $ secure = false , $ http_only = false ) { $ value = $ this -> get ( $ name ) ; $ this -> delete ( $ name , $ path , $ domain , $ secure , $ http_only ) ; return $ value ; }
gets a cookie and eats it

@param string $name
@return mixed
gets a cookie and eats it