Метод | Описание | |
---|---|---|
__construct ( |
Construct a new call event factory. | |
createCalled ( callable $callback, |
Create a new 'called' event. | |
createConsumed ( ) : ConsumedEvent | Create a new 'consumed' event. | |
createProduced ( mixed $key, mixed $value ) : |
Create a new 'produced' event. | |
createReceived ( mixed $value ) : |
Create a new 'received' event. | |
createReceivedException ( Exceptio\Exception | Erro\Error $exception ) : |
Create a new 'received exception' event. | |
createReturned ( mixed $value ) : |
Create a new 'returned' event. | |
createThrew ( Exceptio\Exception | Erro\Error $exception ) : |
Create a new 'thrown' event. | |
createUsed ( ) : UsedEvent | Create a new 'used' event. | |
instance ( ) : |
Get the static instance of this factory. |
public __construct ( |
||
$sequencer | The sequencer to use. | |
$clock | Eloquent\Phony\Clock\Clock | The clock to use. |
public createCalled ( callable $callback, |
||
$callback | callable | The callback. |
$arguments | The arguments. | |
Результат | The newly created event. |
public createConsumed ( ) : ConsumedEvent | ||
Результат | ConsumedEvent | The newly created event. |
public createProduced ( mixed $key, mixed $value ) : |
||
$key | mixed | The produced key. |
$value | mixed | The produced value. |
Результат | The newly created event. |
public createReceived ( mixed $value ) : |
||
$value | mixed | The received value. |
Результат | The newly created event. |
public createReceivedException ( Exceptio\Exception | Erro\Error $exception ) : |
||
$exception | Exceptio\Exception | Erro\Error | The received exception. |
Результат | The newly created event. |
public createReturned ( mixed $value ) : |
||
$value | mixed | The return value. |
Результат | The newly created event. |
public createThrew ( Exceptio\Exception | Erro\Error $exception ) : |
||
$exception | Exceptio\Exception | Erro\Error | The thrown exception. |
Результат | The newly created event. |
public createUsed ( ) : UsedEvent | ||
Результат | UsedEvent | The newly created event. |
public static instance ( ) : |
||
Результат | The static factory. |