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

@@ 1728-1735 (lines=8) @@
1725
     *
1726
     * @return EntryMapperInterface
1727
     */
1728
    public function getEntryMapper()
1729
    {
1730
        if (null === $this->entryMapper) {
1731
            $this->entryMapper = $this->getServiceManager()->get('playgroundgame_entry_mapper');
1732
        }
1733
1734
        return $this->entryMapper;
1735
    }
1736
1737
    /**
1738
     * setEntryMapper