PHP Class Microweber\Utils\Adapters\Event\LaravelEvent

Datei anzeigen Open project: microweber/microweber

Public Properties

Property Type Description
$hooks

Public Methods

Method Description
event_bind ( $hook_name, $callback = false )
fire ( $api_function, mixed $data = false ) : mixed
listen ( $event_name, $callback )

Method Details

event_bind() public static method

public static event_bind ( $hook_name, $callback = false )

fire() public static method

public static fire ( $api_function, mixed $data = false ) : mixed
$api_function
$data mixed
return mixed

listen() public static method

public static listen ( $event_name, $callback )

Property Details

$hooks public_oe static_oe property

public static $hooks