Horde_Kolab_Storage_Object::_getDriver PHP Method

_getDriver() protected method

Return the driver for accessing the backend.
protected _getDriver ( ) : Horde_Kolab_Storage_Driver
return Horde_Kolab_Storage_Driver The driver.
    protected function _getDriver()
    {
        if ($this->_driver === null) {
            throw new Horde_Kolab_Storage_Object_Exception('The driver has not been set!');
        }
        return $this->_driver;
    }