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