\ManiaControl\CallbacksListening

Model Class for a Basic Listening

Summary

Methods
Properties
Constants
getUsageInformation()
__construct()
checkValidCallback()
triggerCallback()
triggerCallbackWithParams()
getUserFunction()
$listener
$method
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$listener

$listener : 

Type

$method

$method : 

Type

Methods

getUsageInformation()

getUsageInformation() 

Gets Information about the Class, and a List of the Public Method

__construct()

__construct(object  $listener, mixed  $method) 

Construct a new Timer Listening

Parameters

object $listener
mixed $method

checkValidCallback()

checkValidCallback(object  $listener, mixed  $method) : boolean

Check if the given Listener and Method build a valid Callback

Parameters

object $listener
mixed $method

Returns

boolean

triggerCallback()

triggerCallback() 

Trigger the Listener's Method

triggerCallbackWithParams()

triggerCallbackWithParams(array  $params) : mixed

Trigger the Listener's Method with the given Array of Params

Parameters

array $params

Returns

mixed

getUserFunction()

getUserFunction() : callable

Get the Callable User Function

Returns

callable