Blesta Source Documentation

EventFactory

Instantiates event objects

Table of Contents

Methods

event() Creates a new instance of an Event
listener() Creates a new instance of an event Listener
observer() Creates a new instance of an event Observer
Methods

event()

Creates a new instance of an Event

public event(string $name[, array<string|int, mixed> $params = null ]) : Event
Parameters
$name : string

The name of the event

$params : array<string|int, mixed> = null

An array of parameters to be held by this event (optional)

Return values
Event
Tags
subpackage

core.Util.Events

copyright

Copyright (c) 2019, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results