Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Mission.php 1 location

@@ 163-170 (lines=8) @@
160
     *
161
     * @return MissionGameMapperInterface
162
     */
163
    public function getMissionGameMapper()
164
    {
165
        if (null === $this->missionGameMapper) {
166
            $this->missionGameMapper = $this->getServiceManager()->get('playgroundgame_mission_game_mapper');
167
        }
168
    
169
        return $this->missionGameMapper;
170
    }
171
    
172
    /**
173
     * setMissionMapper

src/PlaygroundGame/Service/MissionGame.php 1 location

@@ 265-272 (lines=8) @@
262
    *
263
    * @return Mapper/MissionGameMapper $missionGameMapper
264
    */
265
    public function getMissionGameMapper()
266
    {
267
        if (null === $this->missionGameMapper) {
268
            $this->missionGameMapper = $this->getServiceManager()->get('playgroundgame_mission_game_mapper');
269
        }
270
271
        return $this->missionGameMapper;
272
    }
273
274
    /**
275
    * getGameMapper : retrieve game mapper instance