src/Rocketeer/Services/Connections/Shell/Modules/Core.php
protected function displayCommands($commands, $verbosity = 1)
    {
        // Print out command if verbosity level allows it
        if ($verbosity && $this->hasCommand() && ($this->command->getVerbosity() >= $verbosity)) {
            foreach ((array) $commands as $command) {
                $this->explainer->line('$ '.$command, 'magenta');
            }
        }
    }
protected function displayCommands($commands, $verbosity = 1)
    {
        // Print out command if verbosity level allows it
        if ($verbosity && $this->hasCommand() && ($this->command->getVerbosity() >= $verbosity)) {
            foreach ((array) $commands as $command) {
                $this->explainer->line('$ '.$command, 'magenta');
            }
        }
    }
protected function displayCommands ( $ commands , $ verbosity = 1 ) { // Print out command if verbosity level allows it if ( $ verbosity && $ this -> hasCommand ( ) && ( $ this -> command -> getVerbosity ( ) >= $ verbosity ) ) { foreach ( ( array ) $ commands as $ command ) { $ this -> explainer -> line ( '$ ' . $ command , 'magenta' ) ; } } }
Display the passed commands.

@param string|array $commands
@param int          $verbosity
Display the passed commands .