ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Slim Framework (https://slimframework.com) More...
Namespaces | |
Exception | |
Slim Framework (https://slimframework.com) | |
Handlers | |
Slim Framework (https://slimframework.com) | |
Http | |
Slim Framework (https://slimframework.com) | |
Interfaces | |
Slim Framework (https://slimframework.com) | |
Data Structures | |
class | App |
class | CallableResolver |
This class resolves a string of the format 'class:method' into a closure that can be dispatched. More... | |
class | Collection |
Collection. More... | |
class | Container |
class | DefaultServicesProvider |
Slim's default Service Provider. More... | |
class | DeferredCallable |
class | Routable |
class | Route |
Route. More... | |
class | RouteGroup |
class | Router |
Router. More... | |
Functions | |
addMiddleware (callable $callable) | |
Add middleware. More... | |
seedMiddlewareStack (callable $kernel=null) | |
Seed middleware stack with first callable. More... | |
Variables | |
trait | MiddlewareAwareTrait |
Middleware. More... | |
$middlewareLock = false | |
Slim Framework (https://slimframework.com)
A collector for Routable objects with a common middleware stack.
A routable, middleware-aware object.
Router Interface.
Route Interface.
RouteGroup Interface.
Headers Interface.
Environment Interface.
Cookies Interface.
Collection Interface.
Resolves a callable.
Copyright (c) 2011-2017 Josh Lockhart https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License) 3.0.0
|
protected |
Add middleware.
This method prepends new middleware to the application middleware stack.
callable | $callable | Any callable that accepts three arguments:
|
RuntimeException | If middleware is added while the stack is dequeuing |
UnexpectedValueException | If the middleware doesn't return a Psr |
Definition at line 53 of file MiddlewareAwareTrait.php.
References $request, $response, $result, and seedMiddlewareStack().
Referenced by Slim\App\add(), and Slim\Route\finalize().
|
protected |
Seed middleware stack with first callable.
callable | $kernel | The last item to run as middleware |
RuntimeException | if the stack is seeded more than once |
Definition at line 90 of file MiddlewareAwareTrait.php.
References $request, $response, and $start.
Referenced by addMiddleware().
|
protected |
Definition at line 37 of file MiddlewareAwareTrait.php.
trait Slim\MiddlewareAwareTrait |
Middleware.
This is an internal class that enables concentric middleware layers. This class is an implementation detail and is used only inside of the Slim application; it is not visible to—and should not be used by—end users.
Definition at line 24 of file MiddlewareAwareTrait.php.