src/Library/HttpFundamental/Cookie.php
public function clear($cookie_name = null)
    {
        if (!empty($cookie_name)) {
            $this->setName($cookie_name);
        }
        return $this
            ->setValue(null)
            ->setExpire(-1000)
            ->send()
            ;
    }
public function clear($cookie_name = null)
    {
        if (!empty($cookie_name)) {
            $this->setName($cookie_name);
        }
        return $this
            ->setValue(null)
            ->setExpire(-1000)
            ->send()
            ;
    }
public function clear ( $ cookie_name = null ) { if ( ! empty ( $ cookie_name ) ) { $ this -> setName ( $ cookie_name ) ; } return $ this -> setValue ( null ) -> setExpire ( - 1000 ) -> send ( ) ; }
Clear a cookie

@param string $cookie_name
@return bool
Clear a cookie