protected function getRuleMessage(Column $column, $type, $value)
    {
        // create message
        $colName = $column->getName();
        $tableName = $column->getTable()->getName();
        $msg = self::$validatorMessages[strtolower($type)];
        $tmp = compact($msg['var']);
        array_unshift($tmp, $msg['msg']);
        $msg = call_user_func_array('sprintf', $tmp);

        return $msg;
    }
protected function getRuleMessage(Column $column, $type, $value)
    {
        // create message
        $colName = $column->getName();
        $tableName = $column->getTable()->getName();
        $msg = self::$validatorMessages[strtolower($type)];
        $tmp = compact($msg['var']);
        array_unshift($tmp, $msg['msg']);
        $msg = call_user_func_array('sprintf', $tmp);

        return $msg;
    }
protected function getRuleMessage ( Column $ column , $ type , $ value ) { // create message $ colName = $ column -> getName ( ) ; $ tableName = $ column -> getTable ( ) -> getName ( ) ; $ msg = self :: $ validatorMessages [ strtolower ( $ type ) ] ; $ tmp = compact ( $ msg [ 'var' ] ) ; array_unshift ( $ tmp , $ msg [ 'msg' ] ) ; $ msg = call_user_func_array ( 'sprintf' , $ tmp ) ; return $ msg ; }
Gets the message for a specified rule.

@param Column $column
@param string $type
@param mixed  $value

@return string
Gets the message for a specified rule .