protected function getOptimus()
    {
        $connection = null;

        if (property_exists($this, 'optimusConnection')) {
            $connection = $this->optimusConnection;
        }

        return app('optimus')->connection($connection);
    }
protected function getOptimus()
    {
        $connection = null;

        if (property_exists($this, 'optimusConnection')) {
            $connection = $this->optimusConnection;
        }

        return app('optimus')->connection($connection);
    }
protected function getOptimus ( ) { $ connection = null ; if ( property_exists ( $ this , 'optimusConnection' ) ) { $ connection = $ this -> optimusConnection ; } return app ( 'optimus' ) -> connection ( $ connection ) ; }
Get the Optimus instance.

@return \Cog\Laravel\Optimus\OptimusManager
Get the Optimus instance .