Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Mission.php 1 location

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

src/PlaygroundGame/Service/MissionGame.php 1 location

@@ 259-266 (lines=8) @@
256
    *
257
    * @return Mapper/MissionGameMapper $missionGameMapper
258
    */
259
    public function getMissionGameMapper()
260
    {
261
        if (null === $this->missionGameMapper) {
262
            $this->missionGameMapper = $this->getServiceManager()->get('playgroundgame_mission_game_mapper');
263
        }
264
265
        return $this->missionGameMapper;
266
    }
267
268
    /**
269
    * getGameMapper : retrieve game mapper instance