protected function getSizeMessage($key, $ruleName, array $keyRules, array $keyTitles, array $customMessages)
    {
        $type = $this->getRuleType($keyRules);
        return $this->getMessage($key, "$ruleName.$type", $keyRules, $keyTitles, $customMessages);
    }
protected function getSizeMessage($key, $ruleName, array $keyRules, array $keyTitles, array $customMessages)
    {
        $type = $this->getRuleType($keyRules);
        return $this->getMessage($key, "$ruleName.$type", $keyRules, $keyTitles, $customMessages);
    }
protected function getSizeMessage ( $ key , $ ruleName , array $ keyRules , array $ keyTitles , array $ customMessages ) { $ type = $ this -> getRuleType ( $ keyRules ) ; return $ this -> getMessage ( $ key , "$ruleName.$type" , $ keyRules , $ keyTitles , $ customMessages ) ; }
Parse a size message. Special handling because of different messages for
strings, numbers, ...

@param string $key            The array key
@param string $ruleName       The (translated) name of the rule
@param array  $keyRules       The rule array for one key
@param array  $keyTitles      Custom titles for the keys
@param array  $customMessages Custom messages (if passed)

@return string
Parse a size message . Special handling because of different messages for strings numbers ...