Yep, started to confuse domains and varnish instances. If somebody comes with a usecase he can refactor, but leave as is for now

----- Reply message -----
Von: "Roel Sint" <notifications@github.com>
An: "liip/LiipCacheControlBundle" <LiipCacheControlBundle@noreply.github.com>
Cc: "David Buchmann" <david@liip.ch>
Betreff: [LiipCacheControlBundle] Add banning and debug info (#30)
Datum: Di., Mai. 28, 2013 23:47
In Helper/Varnish.php: 
>       * 
> -     * @param string $path    Must be an absolute path 
> -     * @param array  $options Options for cUrl Request 
> +     * @param string $path          Path to be purged, since varnish 3 this can 
> +     *                              also be a regex to invalidate multiple 
> +     *                              paths at once 
> +     * @param array  $options       Options for cUrl Request 
> +     * @param string $contentType 
> +     * @param array  $hosts         Hosts (ex. domain.com), by default the 

Yes, currently 1 domain is supported. For a "purge" instruction only 1 domain is required. For a "ban" multiple can be used but at least 1 is required. Don't know if it needs a fix because I doubt if there is a usecase to configure multple domains in config so you always invalidate multiple sites at once.  

&mdash;
Reply to this email directly or view it on GitHub.