public static function getValidatedFields()
    {
        $fields = [];

        foreach (static::getRulesGroups() as $groupName) {
            $fields = array_merge($fields, array_keys(static::getRulesGroup($groupName)));
        }

        return array_values(array_unique($fields));
    }
public static function getValidatedFields()
    {
        $fields = [];

        foreach (static::getRulesGroups() as $groupName) {
            $fields = array_merge($fields, array_keys(static::getRulesGroup($groupName)));
        }

        return array_values(array_unique($fields));
    }
public static function getValidatedFields ( ) { $ fields = [ ] ; foreach ( static :: getRulesGroups ( ) as $ groupName ) { $ fields = array_merge ( $ fields , array_keys ( static :: getRulesGroup ( $ groupName ) ) ) ; } return array_values ( array_unique ( $ fields ) ) ; }
Get array of attributes that have validation rules defined.

@return array
Get array of attributes that have validation rules defined .