Documentation

Bucket
in package

Class \Hoa\Event\Bucket.

This class is the object which is transmit through event channels.

Tags
copyright

Copyright © 2007-2017 Hoa community

license

New BSD License

Table of Contents

Properties

$_data  : mixed
Data.
$_source  : Source
Source object.

Methods

__construct()  : mixed
Set data.
getData()  : mixed
Get data.
getSource()  : Source
Get source.
send()  : void
Send this object on the event channel.
setData()  : mixed
Set data.
setSource()  : Source
Set source.

Properties

$_data

Data.

protected mixed $_data = null

Methods

__construct()

Set data.

public __construct([mixed $data = null ]) : mixed
Parameters
$data : mixed = null

Data.

getData()

Get data.

public getData() : mixed

send()

Send this object on the event channel.

public send(string $eventId, Source $source) : void
Parameters
$eventId : string

Event ID.

$source : Source

Source.

setData()

Set data.

public setData(mixed $data) : mixed
Parameters
$data : mixed

Data.


        
On this page

Search results