LMongo\Eloquent\Model::getConnection PHP Method

getConnection() public method

Get the database connection for the model.
public getConnection ( ) : Connection
return LMongo\Connection
    public function getConnection()
    {
        return static::resolveConnection($this->connection);
    }
Model