BearFramework\App\Hooks

Provides functionality for notifications and data requests

BearFramework\App\Hooks {

    /* Methods */
    public void add ( string $name , callable $callback [, array $options = [] ] )
    public boolean exists ( string $name )
    public void execute ( string $name )

}

Methods

BearFramework\App\Hooks::add - Registers callback for the name specified
BearFramework\App\Hooks::execute - Triggers execution of all callbacks hooked to the name specified
BearFramework\App\Hooks::exists - Returns information whether there are callbacks added to the hook specified.