public function delete($name)
    {
        $this->func = function () use ($name) {
            setcookie($name, null, 0);
            return $name;
        };
        return new CookieFlush($this->func);
    }
public function delete($name)
    {
        $this->func = function () use ($name) {
            setcookie($name, null, 0);
            return $name;
        };
        return new CookieFlush($this->func);
    }
public function delete ( $ name ) { $ this -> func = function ( ) use ( $ name ) { setcookie ( $ name , null , 0 ) ; return $ name ; } ; return new CookieFlush ( $ this -> func ) ; }
Delete cookie.

@param  string $name
@return bool
Delete cookie .