Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Cron.php 1 location

@@ 114-121 (lines=8) @@
111
     *
112
     * @return GameMapperInterface
113
     */
114
    public function getGameMapper()
115
    {
116
        if (null === $this->gameMapper) {
117
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
118
        }
119
120
        return $this->gameMapper;
121
    }
122
123
    /**
124
     * setGameMapper

src/PlaygroundGame/Service/Game.php 1 location

@@ 1752-1759 (lines=8) @@
1749
     *
1750
     * @return GameMapperInterface
1751
     */
1752
    public function getGameMapper()
1753
    {
1754
        if (null === $this->gameMapper) {
1755
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1756
        }
1757
1758
        return $this->gameMapper;
1759
    }
1760
1761
    /**
1762
     * setGameMapper