class AdminFormValidation extends AbstractFormValidation

Class AdminFormValidation

Properties

protected Translator $translator from AbstractFormValidation
protected Validator $validator from AbstractFormValidation
protected CategoryRepository $categoryRepository
protected array $file
protected array $settings
protected int $categoryId

Methods

__construct(Translator $translator, Validator $validator, CategoryRepository $categoryRepository)

Validator constructor.

validate(array $formData)

No description

setFile(array $file)

No description

setSettings(array $settings)

No description

setCategoryId(int $categoryId)

No description

Details

at line 38
__construct(Translator $translator, Validator $validator, CategoryRepository $categoryRepository)

Validator constructor.

Parameters

Translator $translator
Validator $validator
CategoryRepository $categoryRepository

at line 84
validate(array $formData)

Parameters

array $formData

at line 53
AdminFormValidation setFile(array $file)

Parameters

array $file

Return Value

AdminFormValidation

at line 64
AdminFormValidation setSettings(array $settings)

Parameters

array $settings

Return Value

AdminFormValidation

at line 75
AdminFormValidation setCategoryId(int $categoryId)

Parameters

int $categoryId

Return Value

AdminFormValidation