HumHub Documentation (unofficial)

ValidatorProviderInterface

Hint to the laminas-modulemanager ServiceListener that a module provides validators.

Module classes implementing this interface hint to Laminas\ModuleManager\ServiceListener that they provide validators for the ValidatorPluginManager.

For users of laminas-mvc/laminas-modulemanager v2, this poses no backwards-compatibility break as the method getValidatorConfig is still duck-typed within Laminas\Validator\Module when providing configuration to the ServiceListener.

Table of Contents

Methods

getValidatorConfig()  : array<string|int, mixed>
Provide plugin manager configuration for validators.

Methods

getValidatorConfig()

Provide plugin manager configuration for validators.

public getValidatorConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results