public function registerDataMapper($className, DataMapperInterface $dataMapper)
    {
        $index                     = strtolower($className);
        $this->dataMappers[$index] = $dataMapper;
    }
public function registerDataMapper($className, DataMapperInterface $dataMapper)
    {
        $index                     = strtolower($className);
        $this->dataMappers[$index] = $dataMapper;
    }
public function registerDataMapper ( $ className , DataMapperInterface $ dataMapper ) { $ index = strtolower ( $ className ) ; $ this -> dataMappers [ $ index ] = $ dataMapper ; }
Registers a data mapper for a class
Registering a data mapper for a class will overwrite any previously-set data mapper for that class

@param   string              $className  The name of the class whose data mapper we're registering
@param   DataMapperInterface $dataMapper The data mapper for the class

@return  void
Registers a data mapper for a class Registering a data mapper for a class will overwrite any previously - set data mapper for that class