PHP Class NinjaMutex\Tests\Mock\MockPDO

Author: Kamil Dziedzic ([email protected])
Inheritance: extends PD\PDO
Afficher le fichier Open project: arvenil/ninja-mutex

Protected Properties

Свойство Type Description
$_mock_pdo_statement MockPDOStatement
$current string[]
$data string[]

Méthodes publiques

Méthode Description
__construct ( $dsn, $user, $password )
__destruct ( )
query ( string $statement ) : MockPDOStatement

Méthodes protégées

Méthode Description
_mock_get_lock ( string $key, integer $timeout ) : MockPDOStatement
_mock_is_free_lock ( string $key ) : MockPDOStatement
_mock_release_lock ( string $key ) : MockPDOStatement

Method Details

__construct() public méthode

public __construct ( $dsn, $user, $password )

__destruct() public méthode

public __destruct ( )

_mock_get_lock() protected méthode

protected _mock_get_lock ( string $key, integer $timeout ) : MockPDOStatement
$key string
$timeout integer
Résultat MockPDOStatement

_mock_is_free_lock() protected méthode

protected _mock_is_free_lock ( string $key ) : MockPDOStatement
$key string
Résultat MockPDOStatement

_mock_release_lock() protected méthode

protected _mock_release_lock ( string $key ) : MockPDOStatement
$key string
Résultat MockPDOStatement

query() public méthode

public query ( string $statement ) : MockPDOStatement
$statement string
Résultat MockPDOStatement

Property Details

$_mock_pdo_statement protected_oe property

protected MockPDOStatement,NinjaMutex\Tests\Mock $_mock_pdo_statement
Résultat MockPDOStatement

$current protected_oe property

protected string[] $current
Résultat string[]

$data protected_oe static_oe property

protected static string[] $data
Résultat string[]