Code Duplication    Length = 7-7 lines in 3 locations

src/PlaygroundGame/Service/PostVote.php 1 location

@@ 37-43 (lines=7) @@
34
        return $path;
35
    }
36
37
    public function getMediaUrl($post)
38
    {
39
        $media_url = $this->getOptions()->getMediaUrl() . '/';
40
        $media_url .= 'game' . $post->getPostVote()->getId() . '/' . 'post'. $post->getId() . '/';
41
42
        return $media_url;
43
    }
44
45
    /**
46
     * @param boolean $entry

src/PlaygroundGame/Service/TradingCard.php 1 location

@@ 30-36 (lines=7) @@
27
        return $path;
28
    }
29
30
    public function getModelMediaUrl($model)
31
    {
32
        $media_url = $this->getOptions()->getMediaUrl() . '/';
33
        $media_url .= 'game' . $model->getGame()->getId() . '/' . 'model'. $model->getId() . '/';
34
35
        return $media_url;
36
    }
37
38
    /**
39
     * @param  array $data

src/PlaygroundGame/Service/Game.php 1 location

@@ 69-75 (lines=7) @@
66
        return $path;
67
    }
68
69
    public function getGameUserMediaUrl($game, $user)
70
    {
71
        $media_url = $this->getOptions()->getMediaUrl() . '/';
72
        $media_url .= 'game' . $game->getId() . '/' . 'user'. $user->getId() . '/';
73
74
        return $media_url;
75
    }
76
77
    /**
78
     *