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->serviceLocator->get('playgroundgame_mission_game_mapper');
163
        }
164
    
165
        return $this->missionGameMapper;
166
    }
167
    
168
    /**
169
     * setMissionMapper

src/PlaygroundGame/Service/MissionGame.php 1 location

@@ 273-280 (lines=8) @@
270
    *
271
    * @return Mapper/MissionGameMapper $missionGameMapper
272
    */
273
    public function getMissionGameMapper()
274
    {
275
        if (null === $this->missionGameMapper) {
276
            $this->missionGameMapper = $this->serviceLocator->get('playgroundgame_mission_game_mapper');
277
        }
278
279
        return $this->missionGameMapper;
280
    }
281
282
    /**
283
    * getGameMapper : retrieve game mapper instance