PHP Class ZendDiagnostics\Check\PDOCheck

Inheritance: implements ZendDiagnostics\Check\CheckInterface
Show file Open project: zendframework/zenddiagnostics

Public Methods

Method Description
__construct ( string $dsn, string $username, string $password, integer $timeout = 1 ) : self
check ( ) : ZendDiagnostics\Result\Failure | ZendDiagnostics\Result\Success
getLabel ( ) : string

Method Details

__construct() public method

public __construct ( string $dsn, string $username, string $password, integer $timeout = 1 ) : self
$dsn string
$username string
$password string
$timeout integer
return self

check() public method

public check ( ) : ZendDiagnostics\Result\Failure | ZendDiagnostics\Result\Success
return ZendDiagnostics\Result\Failure | ZendDiagnostics\Result\Success

getLabel() public method

public getLabel ( ) : string
return string