PHP Class NinjaMutex\Tests\Mock\MockPDOStatement

Author: Kamil Dziedzic ([email protected])
Inheritance: extends PDOStatemen\PDOStatement
Afficher le fichier Open project: arvenil/ninja-mutex Class Usage Examples

Protected Properties

Свойство Type Description
$_mock_fetch string

Méthodes publiques

Méthode Description
_mock_set_fetch ( string $result ) : MockPDOStatement
fetch ( integer | null $fetch_style = null, integer | null $cursor_orientation = PDO::FETCH_ORI_NEXT, integer | null $cursor_offset ) : string

Method Details

_mock_set_fetch() public méthode

public _mock_set_fetch ( string $result ) : MockPDOStatement
$result string
Résultat MockPDOStatement

fetch() public méthode

public fetch ( integer | null $fetch_style = null, integer | null $cursor_orientation = PDO::FETCH_ORI_NEXT, integer | null $cursor_offset ) : string
$fetch_style integer | null
$cursor_orientation integer | null
$cursor_offset integer | null
Résultat string

Property Details

$_mock_fetch protected_oe property

protected string $_mock_fetch
Résultat string