src/Slack/Attachment/Attachment.php
public function addField(Field $field)
    {
        if (!isset($this->attachment['fields'])) {
            $this->attachment['fields'] = [];
        }

        $this->attachment['fields'][] = $field;

        return $this;
    }
public function addField(Field $field)
    {
        if (!isset($this->attachment['fields'])) {
            $this->attachment['fields'] = [];
        }

        $this->attachment['fields'][] = $field;

        return $this;
    }
public function addField ( Field $ field ) { if ( ! isset ( $ this -> attachment [ 'fields' ] ) ) { $ this -> attachment [ 'fields' ] = [ ] ; } $ this -> attachment [ 'fields' ] [ ] = $ field ; return $ this ; }
Will be displayed in a table inside the message attachment.

@param Field $field

@return self
Will be displayed in a table inside the message attachment .