src/Middleware/Utility.php
public static function unsetCookie(
        ResponseInterface $response,
        /*# string */ $name,
        /*# string */ $path = null
    )/*# : ResponseInterface */ {
        return self::setCookie($response, $name, '', time() - 86400, $path);
    }
public static function unsetCookie(
        ResponseInterface $response,
        /*# string */ $name,
        /*# string */ $path = null
    )/*# : ResponseInterface */ {
        return self::setCookie($response, $name, '', time() - 86400, $path);
    }
public static function unsetCookie ( ResponseInterface $ response , /*# string */ $ name , /*# string */ $ path = null ) /*# : ResponseInterface */ { return self :: setCookie ( $ response , $ name , '' , time ( ) - 86400 , $ path ) ; }
Unset a cookie

@param  ResponseInterface $response
@param  string $name
@param  string $path
@return ResponseInterface
@access public
Unset a cookie