public function getConnection() {
        if (!isset($this->connection)) {
            $this->connection = $this->db->getDedicatedConnection();
        }
        return $this->connection;
    }
public function getConnection() {
        if (!isset($this->connection)) {
            $this->connection = $this->db->getDedicatedConnection();
        }
        return $this->connection;
    }
public function getConnection ( ) { if ( ! isset ( $ this -> connection ) ) { $ this -> connection = $ this -> db -> getDedicatedConnection ( ) ; } return $ this -> connection ; }
Get DB connection
@return ConnectionInterface
Get DB connection