Code Duplication    Length = 8-8 lines in 2 locations

src/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/Service/MissionGame.php 1 location

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