You are here

public function StaticMethodLoader::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/Loader/StaticMethodLoader.php \Symfony\Component\Validator\Mapping\Loader\StaticMethodLoader::__construct()

Creates a new loader.

Parameters

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

File

vendor/symfony/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;
}