Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Cron.php 1 location

@@ 129-136 (lines=8) @@
126
     *
127
     * @return EntryMapperInterface
128
     */
129
    public function getEntryMapper()
130
    {
131
        if (null === $this->entryMapper) {
132
            $this->entryMapper = $this->getServiceManager()->get('playgroundgame_entry_mapper');
133
        }
134
135
        return $this->entryMapper;
136
    }
137
138
    /**
139
     * setEntryMapper

src/PlaygroundGame/Service/Game.php 1 location

@@ 1656-1663 (lines=8) @@
1653
     *
1654
     * @return EntryMapperInterface
1655
     */
1656
    public function getEntryMapper()
1657
    {
1658
        if (null === $this->entryMapper) {
1659
            $this->entryMapper = $this->getServiceManager()->get('playgroundgame_entry_mapper');
1660
        }
1661
1662
        return $this->entryMapper;
1663
    }
1664
1665
    /**
1666
     * setEntryMapper