Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Cron.php 1 location

@@ 102-109 (lines=8) @@
99
     *
100
     * @return GameMapperInterface
101
     */
102
    public function getGameMapper()
103
    {
104
        if (null === $this->gameMapper) {
105
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
106
        }
107
108
        return $this->gameMapper;
109
    }
110
111
    /**
112
     * setGameMapper

src/PlaygroundGame/Service/Game.php 1 location

@@ 1629-1636 (lines=8) @@
1626
     *
1627
     * @return GameMapperInterface
1628
     */
1629
    public function getGameMapper()
1630
    {
1631
        if (null === $this->gameMapper) {
1632
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1633
        }
1634
1635
        return $this->gameMapper;
1636
    }
1637
1638
    /**
1639
     * setGameMapper