public function ParameterFactoryBase::__construct in JSON-RPC 2.x
Same name and namespace in other branches
- 8 src/ParameterFactory/ParameterFactoryBase.php \Drupal\jsonrpc\ParameterFactory\ParameterFactoryBase::__construct()
ParameterFactoryBase constructor.
Parameters
\Drupal\jsonrpc\ParameterDefinitionInterface $definition: The parameter definition.
\JsonSchema\Validator $validator: The JSON Schema validation object.
1 call to ParameterFactoryBase::__construct()
- EntityParameterFactory::__construct in src/
ParameterFactory/ EntityParameterFactory.php - EntityParameterFactory constructor.
1 method overrides ParameterFactoryBase::__construct()
- EntityParameterFactory::__construct in src/
ParameterFactory/ EntityParameterFactory.php - EntityParameterFactory constructor.
File
- src/
ParameterFactory/ ParameterFactoryBase.php, line 47
Class
- ParameterFactoryBase
- Base class for parameter factories.
Namespace
Drupal\jsonrpc\ParameterFactoryCode
public function __construct(ParameterDefinitionInterface $definition, Validator $validator) {
$this->validator = $validator;
$this->definition = $definition;
}