src/mako/validator/Validator.php
protected function ruleFactory(string $name, array $parameters): RuleInterface
	{
		return $this->container->get($this->getRuleClassName($name), $parameters);
	}
protected function ruleFactory(string $name, array $parameters): RuleInterface
	{
		return $this->container->get($this->getRuleClassName($name), $parameters);
	}
protected function ruleFactory ( string $ name , array $ parameters ) : RuleInterface { return $ this -> container -> get ( $ this -> getRuleClassName ( $ name ) , $ parameters ) ; }
Creates a rule instance.

@param  string                              $name       Rule name
@param  array                               $parameters Rule parameters
@return \mako\validator\rules\RuleInterface
Creates a rule instance .