VISU - PHP Game Framework

AnySignal extends Signal
in package

Table of Contents

Properties

$data  : mixed
Data payload

Methods

__construct()  : mixed
Constructor
getData()  : mixed|null
Returns the current data or null
isPropagationStopped()  : bool
Has the propagation been stopped?
setData()  : void
Set the data for the signal
stopPropagation()  : void
Stop the propagation of the signal

Properties

$data

Data payload

private mixed $data = null

Methods

__construct()

Constructor

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

getData()

Returns the current data or null

public getData() : mixed|null
Return values
mixed|null

isPropagationStopped()

Has the propagation been stopped?

public isPropagationStopped() : bool
Return values
bool

setData()

Set the data for the signal

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

stopPropagation()

Stop the propagation of the signal

public stopPropagation() : void

        
On this page

Search results