public function setAdapterClass($name, $adapterClass)
    {
        $this->adapterClasses[$name] = $adapterClass;
        unset($this->adapters[$name]);
    }
public function setAdapterClass($name, $adapterClass)
    {
        $this->adapterClasses[$name] = $adapterClass;
        unset($this->adapters[$name]);
    }
public function setAdapterClass ( $ name , $ adapterClass ) { $ this -> adapterClasses [ $ name ] = $ adapterClass ; unset ( $ this -> adapters [ $ name ] ) ; }
Set the adapter class for a given datasource.

This allows for lazy-loading adapter objects in getAdapter().

@param string $name         The datasource name
@param string $adapterClass
Set the adapter class for a given datasource .