You are here

public function StaticMethodLoader::__construct in Plug 7

Creates a new loader.

Parameters

string $methodName The name of the static method to call:

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/StaticMethodLoader.php, line 36

Class

StaticMethodLoader
Loads validation metadata by calling a static method on the loaded class.

Namespace

Symfony\Component\Validator\Mapping\Loader

Code

public function __construct($methodName = 'loadValidatorMetadata') {
  $this->methodName = $methodName;
}