Mongolid\ActiveRecord::getDataMapper PHP Метод

getDataMapper() публичный Метод

Returns a DataMapper configured with the Schema and collection described in this entity.
public getDataMapper ( ) : DataMapper
Результат Mongolid\DataMapper\DataMapper
    public function getDataMapper()
    {
        $dataMapper = Ioc::make(DataMapper::class);
        $dataMapper->setSchema($this->getSchema());
        return $dataMapper;
    }