original_string: public static function create(string $locale = 'en'): ValidatorFactory
      {
          $translator = new Translator;
  
          $factory = new ValidatorFactory($translator);
          $factory = $factory->withBuiltInFactories();
          $factory = $factory->withBuiltInTemplates($locale);
  
          return $factory;
      }
code: public static function create(string $locale = 'en'): ValidatorFactory
      {
          $translator = new Translator;
  
          $factory = new ValidatorFactory($translator);
          $factory = $factory->withBuiltInFactories();
          $factory = $factory->withBuiltInTemplates($locale);
  
          return $factory;
      }
code_tokens: public static function create ( string $ locale = 'en' ) : ValidatorFactory { $ translator = new Translator ; $ factory = new ValidatorFactory ( $ translator ) ; $ factory = $ factory -> withBuiltInFactories ( ) ; $ factory = $ factory -> withBuiltInTemplates ( $ locale ) ; return $ factory ; }
docstring: Return a validator factory using all the default rule factories and the
  templates of the given locale.
  
  @param string $locale
  @return \Ellipse\Validator\ValidatorFactory
docstring_tokens: Return a validator factory using all the default rule factories and the templates of the given locale .