public function getConnection()
    {
        if ($this->rocketeer->isLocal()) {
            return $this->connections->getConnection('local');
        }

        return $this->connections->getCurrentConnection();
    }