PHP Class NinjaMutex\Tests\Mock\MockPDOStatement

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

Protected Properties

Property Type Description
$_mock_fetch string

Public Methods

Method 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 method

public _mock_set_fetch ( string $result ) : MockPDOStatement
$result string
return MockPDOStatement

fetch() public method

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
return string

Property Details

$_mock_fetch protected property

protected string $_mock_fetch
return string