ICanBoogie/bind-routing v0.1.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Binding
      • Routing

Classes

  • BeforeSynthesizeRoutesEvent
  • Hooks
  • SynthesizeRoutesEvent

Class Hooks

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

Methods summary

public static array
# synthesize_routes_config( array $fragments )

Synthesize the routes config from routes fragments.

Synthesize the routes config from routes fragments.

Parameters

$fragments

Returns

array

Throws

ICanBoogie\Routing\PatternNotDefined
if a pattern is missing from a route definition.
ICanBoogie\Routing\ControllerNotDefined

if a controller is missing from a route definition and no location is defined.

public static ICanBoogie\Routing\Routes
# get_routes( ICanBoogie\Core $app )

Returns the route collection.

Returns the route collection.

Parameters

$app

Returns

ICanBoogie\Routing\Routes
ICanBoogie/bind-routing v0.1.0 API documentation generated by ApiGen