class StandardValidator implements ValidatorInterface (View source)

Properties

protected $application

Methods

validateAddKeyRequest(CategoryInterface $category, Type $type, Request $request)

No description

validateUpdateKeyRequest(CategoryInterface $category, Key $key, Request $request)

No description

mixed
validateSaveValueRequest(Controller $controller, Request $request, bool $includeFieldNotPresentErrors = true)

No description

__construct(Application $application)

No description

validate(CategoryInterface $category, Controller $controller, Request $request, Key $key = null)

No description

Details

ResponseInterface validateAddKeyRequest(CategoryInterface $category, Type $type, Request $request)

No description

Parameters

CategoryInterface $category
Type $type
Request $request

Return Value

ResponseInterface

ResponseInterface validateUpdateKeyRequest(CategoryInterface $category, Key $key, Request $request)

No description

Parameters

CategoryInterface $category
Key $key
Request $request

Return Value

ResponseInterface

mixed validateSaveValueRequest(Controller $controller, Request $request, bool $includeFieldNotPresentErrors = true)

No description

Parameters

Controller $controller
Request $request
bool $includeFieldNotPresentErrors

Return Value

mixed

validateCurrentAttributeValue(Controller $controller, AttributeValueInterface $value)

No description

Parameters

Controller $controller
AttributeValueInterface $value

__construct(Application $application)

No description

Parameters

Application $application

protected validate(CategoryInterface $category, Controller $controller, Request $request, Key $key = null)

No description

Parameters

CategoryInterface $category
Controller $controller
Request $request
Key $key