src/PlaygroundGame/Service/Game.php 1 location
|
@@ 74-80 (lines=7) @@
|
| 71 |
|
return $path; |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
public function getGameUserMediaUrl($game, $user) |
| 75 |
|
{ |
| 76 |
|
$media_url = $this->getOptions()->getMediaUrl() . '/'; |
| 77 |
|
$media_url .= 'game' . $game->getId() . '/' . 'user'. $user->getId() . '/'; |
| 78 |
|
|
| 79 |
|
return $media_url; |
| 80 |
|
} |
| 81 |
|
|
| 82 |
|
/** |
| 83 |
|
* |
src/PlaygroundGame/Service/PostVote.php 1 location
|
@@ 36-42 (lines=7) @@
|
| 33 |
|
return $path; |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
public function getMediaUrl($post) |
| 37 |
|
{ |
| 38 |
|
$media_url = $this->getOptions()->getMediaUrl() . '/'; |
| 39 |
|
$media_url .= 'game' . $post->getPostVote()->getId() . '/' . 'post'. $post->getId() . '/'; |
| 40 |
|
|
| 41 |
|
return $media_url; |
| 42 |
|
} |
| 43 |
|
|
| 44 |
|
/** |
| 45 |
|
* @param boolean $entry |