public function withDefaultLabels(array $labels): ValidatorFactory
    {
        $translator = $this->translator->withLabels($labels);

        return new ValidatorFactory($translator, $this->factories);
    }
public function withDefaultLabels(array $labels): ValidatorFactory
    {
        $translator = $this->translator->withLabels($labels);

        return new ValidatorFactory($translator, $this->factories);
    }
public function withDefaultLabels ( array $ labels ) : ValidatorFactory { $ translator = $ this -> translator -> withLabels ( $ labels ) ; return new ValidatorFactory ( $ translator , $ this -> factories ) ; }
Return a new validator factory with an additional list of labels added to
the translator.

@param array $labels
@return \Ellipse\Validation\ValidatorFactory
Return a new validator factory with an additional list of labels added to the translator .