The Event List
$_events protected add( Cake\Event\Event $event )
Adds an event to the list when event listing is enabled.
Cake\Event\Event $event count( )
Count elements of an object
Countable::count() hasEvent( string $name )
Checks if an event is in the list.
$name offsetExists( mixed $offset )
Whether a offset exists
$offset ArrayAccess::offsetExists() offsetGet( mixed $offset )
Offset to retrieve
$offset ArrayAccess::offsetGet() offsetSet( mixed $offset , mixed $value )
Offset to set
$offset $value ArrayAccess::offsetSet() offsetUnset( mixed $offset )
Offset to unset
$offset ArrayAccess::offsetUnset()
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.5/class-Cake.Event.EventList.html