Overview
  • Namespace
  • Class

Namespaces

  • Slim
    • Exception
    • Handlers
      • Strategies
    • Http
    • Interfaces
      • Http

Interfaces

  • CallableResolverInterface
  • CollectionInterface
  • InvocationStrategyInterface
  • RouteGroupInterface
  • RouteInterface
  • RouterInterface

Interface RouteGroupInterface

RouteGroup Interface

Direct known implementers

Slim\RouteGroup

Namespace: Slim\Interfaces
Package: Slim
Since: 3.0.0
Located at Interfaces/RouteGroupInterface.php

Methods summary

public string
# getPattern( )

Get route pattern

Get route pattern

Returns

string
public Slim\Interfaces\RouteGroupInterface
# add( callable|string $callable )

Prepend middleware to the group middleware collection

Prepend middleware to the group middleware collection

Parameters

$callable
The callback routine

Returns

Slim\Interfaces\RouteGroupInterface
public
# __invoke( Slim\App $app )

Execute route group callable in the context of the Slim 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
API documentation generated by ApiGen