src/Resources/DbSchemaResource.php
public function describeFields($table, $fields, $refresh = false)
    {
        if (empty($fields)) {
            $out = $this->describeTable($table, $refresh);

            return array_get($out, 'field');
        }

        $fields = static::validateAsArray(
            $fields,
            ',',
            true,
            'The request contains no valid table field names or properties.'
        );

        $out = [];
        foreach ($fields as $field) {
            $name = (is_array($field)) ? array_get($field, 'name') : $field;
            $this->validateSchemaAccess($table, Verbs::GET);
            $out[] = $this->describeField($table, $name, $refresh);
        }

        return $out;
    }
public function describeFields($table, $fields, $refresh = false)
    {
        if (empty($fields)) {
            $out = $this->describeTable($table, $refresh);

            return array_get($out, 'field');
        }

        $fields = static::validateAsArray(
            $fields,
            ',',
            true,
            'The request contains no valid table field names or properties.'
        );

        $out = [];
        foreach ($fields as $field) {
            $name = (is_array($field)) ? array_get($field, 'name') : $field;
            $this->validateSchemaAccess($table, Verbs::GET);
            $out[] = $this->describeField($table, $name, $refresh);
        }

        return $out;
    }
Describe multiple table fields

@param string $table
@param array  $fields
@param bool   $refresh Force a refresh of the schema from the database

@throws \Exception
@return array