/** * Set structure prototype * * @param Structure $structurePrototype * @return Mapper */ public function setStructurePrototype($structurePrototype) { if ($structurePrototype instanceof MapperAwareInterface) { $structurePrototype->setMapper($this); } $this->structurePrototype = $structurePrototype; return $this; }