bind()
bind(\Omega\Application\Application $application) : void
Bind all method.
Parameters
\Omega\Application\Application | $application | Holds an instance of Application. |
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.
bindRules(\Omega\Application\Application $application, \Omega\Validation\Validation $validation) : void
Bind rules.
Registers predefined validation rules in the ValidationManager.
\Omega\Application\Application | $application | Holds an instance of Application. |
\Omega\Validation\Validation | $validation | Holds an instance of ValidationManager. |