PHP 클래스 Eloquent\Phony\Call\Event\CalledEvent

상속: extends AbstractCallEvent
파일 보기 프로젝트 열기: eloquent/phony 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( integer $sequenceNumber, float $time, callable $callback, Arguments $arguments ) Construct a new 'called' event.
arguments ( ) : Arguments Get the received arguments.
callback ( ) : callable Get the callback.

메소드 상세

__construct() 공개 메소드

Construct a new 'called' event.
public __construct ( integer $sequenceNumber, float $time, callable $callback, Arguments $arguments )
$sequenceNumber integer The sequence number.
$time float The time at which the event occurred, in seconds since the Unix epoch.
$callback callable The callback.
$arguments Eloquent\Phony\Call\Arguments The arguments.

arguments() 공개 메소드

Get the received arguments.
public arguments ( ) : Arguments
리턴 Eloquent\Phony\Call\Arguments The received arguments.

callback() 공개 메소드

Get the callback.
public callback ( ) : callable
리턴 callable The callback.