src/mako/validator/Validator.php
protected function getRuleClassName(string $name): string
	{
		if(!isset($this->rules[$name]))
		{
			throw new RuntimeException(vsprintf('Call to undefined validation rule [ %s ].', [$name]));
		}

		return $this->rules[$name];
	}
protected function getRuleClassName(string $name): string
	{
		if(!isset($this->rules[$name]))
		{
			throw new RuntimeException(vsprintf('Call to undefined validation rule [ %s ].', [$name]));
		}

		return $this->rules[$name];
	}
protected function getRuleClassName ( string $ name ) : string { if ( ! isset ( $ this -> rules [ $ name ] ) ) { throw new RuntimeException ( vsprintf ( 'Call to undefined validation rule [ %s ].' , [ $ name ] ) ) ; } return $ this -> rules [ $ name ] ; }
Returns the rule class name.

@param  string            $name Rule name
@throws \RuntimeException
@return string
Returns the rule class name .