Collective\Remote\RemoteManager::setOutput PHP Method

setOutput() protected method

Set the output implementation on the connection.
protected setOutput ( Collective\Remote\Connection $connection ) : void
$connection Collective\Remote\Connection
return void
    protected function setOutput(Connection $connection)
    {
        $output = php_sapi_name() == 'cli' ? new ConsoleOutput() : new NullOutput();
        $connection->setOutput($output);
    }