ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Slim\Interfaces\RouteGroupInterface Interface Reference
+ Inheritance diagram for Slim\Interfaces\RouteGroupInterface:
+ Collaboration diagram for Slim\Interfaces\RouteGroupInterface:

Public Member Functions

 getPattern ()
 Get route pattern. More...
 
 add ($callable)
 Prepend middleware to the group middleware collection. More...
 
 __invoke (App $app)
 Execute route group callable in the context of the Slim App. More...
 

Detailed Description

Definition at line 19 of file RouteGroupInterface.php.

Member Function Documentation

◆ __invoke()

Slim\Interfaces\RouteGroupInterface::__invoke ( App  $app)

Execute route group callable in the context of the Slim App.

This method invokes the route group object's callable, collecting nested route objects

Parameters
App$app

Implemented in Slim\RouteGroup.

◆ add()

Slim\Interfaces\RouteGroupInterface::add (   $callable)

Prepend middleware to the group middleware collection.

Parameters
callable | string$callableThe callback routine
Returns
RouteGroupInterface

◆ getPattern()

Slim\Interfaces\RouteGroupInterface::getPattern ( )

Get route pattern.

Returns
string

The documentation for this interface was generated from the following file: