public function enableOutput($command)
    {
        $this->output = function ($type, $buffer) use ($command) {
            if (Process::ERR === $type) {
                $command->info(trim('[ERR] > '.$buffer));
            } else {
                $command->info(trim('> '.$buffer));
            }
        };
    }
public function enableOutput($command)
    {
        $this->output = function ($type, $buffer) use ($command) {
            if (Process::ERR === $type) {
                $command->info(trim('[ERR] > '.$buffer));
            } else {
                $command->info(trim('> '.$buffer));
            }
        };
    }
public function enableOutput ( $ command ) { $ this -> output = function ( $ type , $ buffer ) use ( $ command ) { if ( Process :: ERR === $ type ) { $ command -> info ( trim ( '[ERR] > ' . $ buffer ) ) ; } else { $ command -> info ( trim ( '> ' . $ buffer ) ) ; } } ; }
Enable real time output of all commands.

@param $command

@return void
Enable real time output of all commands .