Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Cron.php 1 location

@@ 141-148 (lines=8) @@
138
     *
139
     * @return EntryMapperInterface
140
     */
141
    public function getEntryMapper()
142
    {
143
        if (null === $this->entryMapper) {
144
            $this->entryMapper = $this->getServiceManager()->get('playgroundgame_entry_mapper');
145
        }
146
147
        return $this->entryMapper;
148
    }
149
150
    /**
151
     * setEntryMapper

src/PlaygroundGame/Service/Game.php 1 location

@@ 1754-1761 (lines=8) @@
1751
     *
1752
     * @return EntryMapperInterface
1753
     */
1754
    public function getEntryMapper()
1755
    {
1756
        if (null === $this->entryMapper) {
1757
            $this->entryMapper = $this->getServiceManager()->get('playgroundgame_entry_mapper');
1758
        }
1759
1760
        return $this->entryMapper;
1761
    }
1762
1763
    /**
1764
     * setEntryMapper