public function getAdapterClass($name = null)
    {
        if (null === $name) {
            $name = $this->getDefaultDatasource();
        }

        return $this->adapterClasses[$name];
    }
public function getAdapterClass($name = null)
    {
        if (null === $name) {
            $name = $this->getDefaultDatasource();
        }

        return $this->adapterClasses[$name];
    }
public function getAdapterClass ( $ name = null ) { if ( null === $ name ) { $ name = $ this -> getDefaultDatasource ( ) ; } return $ this -> adapterClasses [ $ name ] ; }
Get the adapter class for a given datasource.

@param string $name The datasource name

@return string
Get the adapter class for a given datasource .