Documentation

Listenable extends Source

Interface \Hoa\Event\Listenable.

Each object which is listenable must implement this interface.

Tags
copyright

Copyright © 2007-2017 Hoa community

license

New BSD License

Table of Contents

Methods

on()  : Listenable
Attach a callable to a listenable component.

Methods

on()

Attach a callable to a listenable component.

public on(string $listenerId, mixed $callable) : Listenable
Parameters
$listenerId : string

Listener ID.

$callable : mixed

Callable.

Return values
Listenable

        
On this page

Search results