protected function _delete($name)
    {
        $config = $this->configKey($name);
        $expires = new Time('now');
        $controller = $this->getController();

        $cookie = new Cookie(
            $name,
            '',
            $expires,
            $config['path'],
            $config['domain'],
            (bool)$config['secure'],
            (bool)$config['httpOnly']
        );

        $controller->response = $controller->response->withExpiredCookie($cookie);
    }
protected function _delete($name)
    {
        $config = $this->configKey($name);
        $expires = new Time('now');
        $controller = $this->getController();

        $cookie = new Cookie(
            $name,
            '',
            $expires,
            $config['path'],
            $config['domain'],
            (bool)$config['secure'],
            (bool)$config['httpOnly']
        );

        $controller->response = $controller->response->withExpiredCookie($cookie);
    }
protected function _delete ( $ name ) { $ config = $ this -> configKey ( $ name ) ; $ expires = new Time ( 'now' ) ; $ controller = $ this -> getController ( ) ; $ cookie = new Cookie ( $ name , '' , $ expires , $ config [ 'path' ] , $ config [ 'domain' ] , ( bool ) $ config [ 'secure' ] , ( bool ) $ config [ 'httpOnly' ] ) ; $ controller -> response = $ controller -> response -> withExpiredCookie ( $ cookie ) ; }
Sets a cookie expire time to remove cookie value.

This is only done once all values in a cookie key have been
removed with delete.

@param string $name Name of cookie
@return void
Sets a cookie expire time to remove cookie value .