PhpBrew\Command\EachCommand::execute PHP Method

execute() public method

public execute ( $command )
    public function execute($command)
    {
        $command = trim($command);
        if (empty($command)) {
            throw new Exception('Empty command supplied.');
        }
        $this->prompt($command);
        $this->runCommandRecursive($command);
    }