public function HandlerStack::before in Auth0 Single Sign On 8.2
Add a middleware before another middleware by name.
Parameters
string $findName Middleware to find:
callable $middleware Middleware function:
string $withName Name to register for this middleware.:
File
- vendor/
guzzlehttp/ guzzle/ src/ HandlerStack.php, line 156
Class
- HandlerStack
- Creates a composed Guzzle handler function by stacking middlewares on top of an HTTP handler function.
Namespace
GuzzleHttpCode
public function before($findName, callable $middleware, $withName = '') {
$this
->splice($findName, $withName, $middleware, true);
}