src/Service/Game.php 1 location
|
@@ 95-101 (lines=7) @@
|
| 92 |
|
return $path; |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
public function getGameUserMediaUrl($game, $user) |
| 96 |
|
{ |
| 97 |
|
$media_url = $this->getOptions()->getMediaUrl() . '/'; |
| 98 |
|
$media_url .= 'game' . $game->getId() . '/' . 'user'. $user->getId() . '/'; |
| 99 |
|
|
| 100 |
|
return $media_url; |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
/** |
| 104 |
|
* |
src/Service/PostVote.php 1 location
|
@@ 45-51 (lines=7) @@
|
| 42 |
|
return $path; |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
public function getMediaUrl($post) |
| 46 |
|
{ |
| 47 |
|
$media_url = $this->getOptions()->getMediaUrl() . '/'; |
| 48 |
|
$media_url .= 'game' . $post->getPostVote()->getId() . '/' . 'post'. $post->getId() . '/'; |
| 49 |
|
|
| 50 |
|
return $media_url; |
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
/** |
| 54 |
|
* @param boolean $entry |