src/Valitron/Validator.php
/**
     * Get/set language to use for validation messages
     */
Get/set language to use for validation messages
Get / set language to use for validation messages
public static function lang($lang = null)
    {
        if($lang !== null) {
            static::$_lang = $lang;
        }
        return static::$_lang ?: 'en';
    }
public static function lang ( $ lang = null ) { if ( $ lang !== null ) { static :: $ _lang = $ lang ; } return static :: $ _lang ? : 'en' ; }
Get/set language to use for validation messages
Get / set language to use for validation messages