Code Duplication    Length = 8-8 lines in 2 locations

src/Service/Game.php 1 location

@@ 1529-1536 (lines=8) @@
1526
     *
1527
     * @return GameMapperInterface
1528
     */
1529
    public function getGameMapper()
1530
    {
1531
        if (null === $this->gameMapper) {
1532
            $this->gameMapper = $this->serviceLocator->get('playgroundgame_game_mapper');
1533
        }
1534
1535
        return $this->gameMapper;
1536
    }
1537
1538
    /**
1539
     * setGameMapper

src/Service/MissionGame.php 1 location

@@ 288-295 (lines=8) @@
285
    *
286
    * @return Mapper/GameMapper $gameMapper
287
    */
288
    public function getGameMapper()
289
    {
290
        if (null === $this->gameMapper) {
291
            $this->gameMapper = $this->serviceLocator->get('playgroundgame_game_mapper');
292
        }
293
294
        return $this->gameMapper;
295
    }
296
}
297