/** * Injects the data mapper * * @param \TYPO3\Flow\Persistence\Generic\DataMapper $dataMapper * @return void */ public function injectDataMapper(\TYPO3\Flow\Persistence\Generic\DataMapper $dataMapper) { $this->dataMapper = $dataMapper; $this->dataMapper->setPersistenceManager($this); }
/** * Injects the data mapper * * @param DataMapper $dataMapper * @return void */ public function injectDataMapper(DataMapper $dataMapper) { $this->dataMapper = $dataMapper; $this->dataMapper->setPersistenceManager($this); }