eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\HandlerRegistry::__construct PHP Method

__construct() public method

Create field value handler registry with handler map.
public __construct ( array $map = [] )
$map array Map of Criterion field value handlers where key is field type identifier and value field value handler
    public function __construct(array $map = array())
    {
        foreach ($map as $fieldTypeIdentifier => $handler) {
            $this->register($fieldTypeIdentifier, $handler);
        }
    }