ICanBoogie
  • Documentation
  • API Reference
  • bind-event v2.0.0
Namespaces
  • ICanBoogie
    • Binding
      • Event
Classes
  • Hooks
Traits
  • CoreBindings

Class Hooks

Namespace: ICanBoogie\Binding\Event
Located at Hooks.php

Methods summary

public static synthesize_config( array $fragments ) : array

Synthesizes a configuration suitable to create ICanBoogie\EventCollection instances, from "event" config fragments.

Synthesizes a configuration suitable to create ICanBoogie\EventCollection instances, from "event" config fragments.

Parameters

$fragments
Configuration fragments.

Returns

array

Throws

InvalidArgumentException
in attempt to specify an invalid event callback.
public static get_events( ICanBoogie\Core $app ) : ICanBoogie\EventCollection

Returns an ICanBoogie\EventCollection instance created with the hooks from the events config.

Returns an ICanBoogie\EventCollection instance created with the hooks from the events config.

Parameters

$app

Returns

ICanBoogie\EventCollection
bind-event v2.0.0 – Check on GitHub – API documentation generated by ApiGen