Méthode | Description | |
---|---|---|
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface | Execute the middleware. | |
getGenerator ( Psr\Http\Message\ServerRequestInterface $request ) : callable | null | Returns a callable to generate the inputs. | |
inputClass ( string $inputClass ) : self | Set the field class. | |
inputName ( string $inputName ) : self | Set the field name. |
Méthode | Description | |
---|---|---|
isValid ( Psr\Http\Message\ServerRequestInterface $request ) : boolean | Check whether the request is valid. |
public __invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface | ||
$request | Psr\Http\Message\ServerRequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
$next | callable | |
Résultat | Psr\Http\Message\ResponseInterface |
public static getGenerator ( Psr\Http\Message\ServerRequestInterface $request ) : callable | null | ||
$request | Psr\Http\Message\ServerRequestInterface | |
Résultat | callable | null |
public inputClass ( string $inputClass ) : self | ||
$inputClass | string | |
Résultat | self |