PHP 7.0.33 Released

The VarnishAdmin class

(PECL varnish >= 0.3)

Introduction

Class synopsis

VarnishAdmin {
/* Methods */
public auth ( void ) : bool
public ban ( string $vcl_regex ) : int
public banUrl ( string $vcl_regex ) : int
public clearPanic ( void ) : int
public connect ( void ) : bool
public __construct ([ array $args ] )
public disconnect ( void ) : bool
public getPanic ( void ) : string
public getParams ( void ) : array
public isRunning ( void ) : bool
public setCompat ( int $compat ) : void
public setHost ( string $host ) : void
public setIdent ( string $ident ) : void
public setParam ( string $name , string|integer $value ) : int
public setPort ( int $port ) : void
public setSecret ( string $secret ) : void
public setTimeout ( int $timeout ) : void
public start ( void ) : int
public stop ( void ) : int
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top