PHP 클래스 Prooph\ServiceBus\Example\Command\EchoText

상속: extends Prooph\Common\Messaging\Command
파일 보기 프로젝트 열기: prooph/service-bus

공개 메소드들

메소드 설명
__construct ( $text )
getText ( )
payload ( ) : array Return message payload as array

보호된 메소드들

메소드 설명
setPayload ( array $payload ) : void This method is called when message is instantiated named constructor fromArray

메소드 상세

__construct() 공개 메소드

public __construct ( $text )

getText() 공개 메소드

public getText ( )

payload() 공개 메소드

Return message payload as array
public payload ( ) : array
리턴 array

setPayload() 보호된 메소드

This method is called when message is instantiated named constructor fromArray
protected setPayload ( array $payload ) : void
$payload array
리턴 void