public function getDataMapper()
    {
        $dataMapper = Ioc::make(DataMapper::class);
        $dataMapper->setSchema($this->getSchema());

        return $dataMapper;
    }
public function getDataMapper()
    {
        $dataMapper = Ioc::make(DataMapper::class);
        $dataMapper->setSchema($this->getSchema());

        return $dataMapper;
    }
public function getDataMapper ( ) { $ dataMapper = Ioc :: make ( DataMapper :: class ) ; $ dataMapper -> setSchema ( $ this -> getSchema ( ) ) ; return $ dataMapper ; }
Returns a DataMapper configured with the Schema and collection described
in this entity.

@return DataMapper
Returns a DataMapper configured with the Schema and collection described in this entity .