ICanBoogie
  • Documentation
  • API Reference
  • bind-routing v0.1.0
Namespaces
  • ICanBoogie
    • Binding
      • Routing
Classes
  • BeforeSynthesizeRoutesEvent
  • Hooks
  • SynthesizeRoutesEvent

Class Hooks

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

Methods summary

public static synthesize_routes_config( array $fragments ) : array

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 get_routes( ICanBoogie\Core $app ) : ICanBoogie\Routing\Routes

Returns the route collection.

Returns the route collection.

Parameters

$app

Returns

ICanBoogie\Routing\Routes
bind-routing v0.1.0 – Check on GitHub – API documentation generated by ApiGen