src/Html/Options/Plugins/Buttons.php
public function buttons(...$buttons)
    {
        foreach ($buttons as $button) {
            $this->attributes['buttons'][] = $button instanceof Arrayable ? $button->toArray() : $button;
        }

        return $this;
    }
public function buttons(...$buttons)
    {
        foreach ($buttons as $button) {
            $this->attributes['buttons'][] = $button instanceof Arrayable ? $button->toArray() : $button;
        }

        return $this;
    }
public function buttons ( ... $ buttons ) { foreach ( $ buttons as $ button ) { $ this -> attributes [ 'buttons' ] [ ] = $ button instanceof Arrayable ? $ button -> toArray ( ) : $ button ; } return $ this ; }
Attach multiple buttons to builder.

@param mixed ...$buttons
@return $this
@see https://www.datatables.net/extensions/buttons/
Attach multiple buttons to builder .