original_string: public function withDefaultLabels(array $labels): ValidatorFactory
      {
          $translator = $this->translator->withLabels($labels);
  
          return new ValidatorFactory($translator, $this->factories);
      }
code: public function withDefaultLabels(array $labels): ValidatorFactory
      {
          $translator = $this->translator->withLabels($labels);
  
          return new ValidatorFactory($translator, $this->factories);
      }
code_tokens: public function withDefaultLabels ( array $ labels ) : ValidatorFactory { $ translator = $ this -> translator -> withLabels ( $ labels ) ; return new ValidatorFactory ( $ translator , $ this -> factories ) ; }
docstring: Return a new validator factory with an additional list of labels added to
  the translator.
  
  @param array $labels
  @return \Ellipse\Validation\ValidatorFactory
docstring_tokens: Return a new validator factory with an additional list of labels added to the translator .