= 0.3)VarnishAdmin::ban — Ban URLs using a VCL expression說明public VarnishAdmin::ban(string $vcl_regex): int參數(shù)vcl_regex">
(PECL varnish >= 0.3)
VarnishAdmin::ban — Ban URLs using a VCL expression
$vcl_regex
): int
vcl_regex
Varnish VCL expression. It's based on the varnish ban command.
Returns the varnish command status.