PHP Класс phpmock\functions\FixedDateFunction

Автор: Markus Malkusch ([email protected])
Наследование: implements phpmock\functions\FunctionProvider, implements phpmock\functions\Incrementable
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( integer $timestamp = null ) Set the timestamp.
getCallable ( ) : callable Returns the mocked date() function.
increment ( $increment )

Описание методов

__construct() публичный Метод

Set the timestamp.
public __construct ( integer $timestamp = null )
$timestamp integer The timestamp, if ommited the current time.

getCallable() публичный Метод

Returns the mocked date() function.
public getCallable ( ) : callable
Результат callable The callable for this object.

increment() публичный Метод

public increment ( $increment )