PHP Class Bravo3\Orm\Events\PubSubEvent

Inheritance: extends Symfony\Component\EventDispatcher\Event
Show file Open project: bravo3/orm Class Usage Examples

Protected Properties

Property Type Description
$payload string Message received via the Pub/Sub event

Public Methods

Method Description
__construct ( string $message )
getMessage ( ) : string Returns the received message.

Method Details

__construct() public method

public __construct ( string $message )
$message string

getMessage() public method

Returns the received message.
public getMessage ( ) : string
return string

Property Details

$payload protected property

Message received via the Pub/Sub event
protected string $payload
return string