ICanBoogie/bind-event v2.0.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Binding
      • Event

Classes

  • Hooks

Traits

  • CoreBindings

Class Hooks

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

Methods summary

public static array
# synthesize_config( array $fragments )

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 ICanBoogie\EventCollection
# get_events( ICanBoogie\Core $app )

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
ICanBoogie/bind-event v2.0.0 API documentation generated by ApiGen