public function clearCommand($domain = null, $contentType = null)
    {
        $this->varnishBanService->banAll($domain, $contentType);
    }
public function clearCommand($domain = null, $contentType = null)
    {
        $this->varnishBanService->banAll($domain, $contentType);
    }
public function clearCommand ( $ domain = null , $ contentType = null ) { $ this -> varnishBanService -> banAll ( $ domain , $ contentType ) ; }
Clear all cache in Varnish for a optionally given domain & content type

The domain is required since the expected VCL only bans for a given domain.

@param string $domain The domain to flush, e.g. "example.com"
@param string $contentType The mime type to flush, e.g. "image/png"
@return void
Clear all cache in Varnish for a optionally given domain & content type