\Omega\Validation\ServiceProvider ValidationServiceProvider

Validation service provider class.

The ValidationServiceProvider class binds validation-related components to the application container. It registers validation rules and a ValidationManager instance for handling validation.

Summary

Methods
Properties
Constants
bind
No public properties found
No public constants found
No protected methods found
No protected properties found
No protected constants found
bindRules
No private properties found
No private constants found

Methods

bind()

bind(\Omega\Application\Application  $application) : void

Bind all method.

Parameters

\Omega\Application\Application $application

Holds an instance of Application.

Returns

void —

bindRules()

bindRules(\Omega\Application\Application  $application, \Omega\Validation\Validation  $validation) : void

Bind rules.

Registers predefined validation rules in the ValidationManager.

Parameters

\Omega\Application\Application $application

Holds an instance of Application.

\Omega\Validation\Validation $validation

Holds an instance of ValidationManager.

Returns

void —