\GuzzleHttp\Command\Guzzle\HandlerValidatedDescriptionHandler

Handler used to validate command input against a service description.

Summary

Methods
Properties
Constants
__construct()
__invoke()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$validator
$description
N/A

Properties

$validator

$validator : \GuzzleHttp\Command\Guzzle\SchemaValidator

Type

SchemaValidator

$description

$description : \GuzzleHttp\Command\Guzzle\DescriptionInterface

Type

DescriptionInterface

Methods

__construct()

__construct(\GuzzleHttp\Command\Guzzle\DescriptionInterface  $description, \GuzzleHttp\Command\Guzzle\SchemaValidator|null  $schemaValidator = null) : mixed

ValidatedDescriptionHandler constructor.

Parameters

\GuzzleHttp\Command\Guzzle\DescriptionInterface $description
\GuzzleHttp\Command\Guzzle\SchemaValidator|null $schemaValidator

Returns

mixed —

__invoke()

__invoke(callable  $handler) : \Closure

Parameters

callable $handler

Returns

\Closure —