src/Commands/Command.php
public function applyGroupAttributes(array $attributes)
    {
        if (isset($attributes['middleware'])) {
            $this->middleware($attributes['middleware']);
        }

        if (isset($attributes['driver'])) {
            $this->driver($attributes['driver']);
        }

        if (isset($attributes['recipient'])) {
            $this->recipient($attributes['recipient']);
        }

        if (isset($attributes['stop_conversation']) && $attributes['stop_conversation'] === true) {
            $this->stopsConversation();
        }

        if (isset($attributes['skip_conversation']) && $attributes['skip_conversation'] === true) {
            $this->skipsConversation();
        }
    }
public function applyGroupAttributes(array $attributes)
    {
        if (isset($attributes['middleware'])) {
            $this->middleware($attributes['middleware']);
        }

        if (isset($attributes['driver'])) {
            $this->driver($attributes['driver']);
        }

        if (isset($attributes['recipient'])) {
            $this->recipient($attributes['recipient']);
        }

        if (isset($attributes['stop_conversation']) && $attributes['stop_conversation'] === true) {
            $this->stopsConversation();
        }

        if (isset($attributes['skip_conversation']) && $attributes['skip_conversation'] === true) {
            $this->skipsConversation();
        }
    }
public function applyGroupAttributes ( array $ attributes ) { if ( isset ( $ attributes [ 'middleware' ] ) ) { $ this -> middleware ( $ attributes [ 'middleware' ] ) ; } if ( isset ( $ attributes [ 'driver' ] ) ) { $ this -> driver ( $ attributes [ 'driver' ] ) ; } if ( isset ( $ attributes [ 'recipient' ] ) ) { $ this -> recipient ( $ attributes [ 'recipient' ] ) ; } if ( isset ( $ attributes [ 'stop_conversation' ] ) && $ attributes [ 'stop_conversation' ] === true ) { $ this -> stopsConversation ( ) ; } if ( isset ( $ attributes [ 'skip_conversation' ] ) && $ attributes [ 'skip_conversation' ] === true ) { $ this -> skipsConversation ( ) ; } }
Apply possible group attributes.

@param  array $attributes
Apply possible group attributes .