src/Rocketeer/Tasks/Migrate.php
protected function runStrategyCommand($method, $message)
    {
        if (!$this->getOption($method)) {
            return;
        }

        $this->explainer->line($message);
        $this->results[] = $this->strategy->$method();
    }
protected function runStrategyCommand($method, $message)
    {
        if (!$this->getOption($method)) {
            return;
        }

        $this->explainer->line($message);
        $this->results[] = $this->strategy->$method();
    }
protected function runStrategyCommand ( $ method , $ message ) { if ( ! $ this -> getOption ( $ method ) ) { return ; } $ this -> explainer -> line ( $ message ) ; $ this -> results [ ] = $ this -> strategy -> $ method ( ) ; }
Run a method on the strategy if asked to.

@param string $method
@param string $message
Run a method on the strategy if asked to .