protected function context()
    {
        return collect($this->option())->only([
            'ansi',
            'no-ansi',
            'no-interaction',
            'quiet',
            'verbose',
        ])->filter()->mapWithKeys(function ($value, $key) {
            return ["--{$key}" => $value];
        })->all();
    }
protected function context()
    {
        return collect($this->option())->only([
            'ansi',
            'no-ansi',
            'no-interaction',
            'quiet',
            'verbose',
        ])->filter()->mapWithKeys(function ($value, $key) {
            return ["--{$key}" => $value];
        })->all();
    }
protected function context ( ) { return collect ( $ this -> option ( ) ) -> only ( [ 'ansi' , 'no-ansi' , 'no-interaction' , 'quiet' , 'verbose' , ] ) -> filter ( ) -> mapWithKeys ( function ( $ value , $ key ) { return [ "--{$key}" => $ value ] ; } ) -> all ( ) ; }
Get all of the context passed to the command.

@return array
Get all of the context passed to the command .