| 1 | <?php |
||
| 9 | class HangmanPlayerFailedCreatingEvent extends HangmanErrorEvent |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | const NAME = 'hangman.player.failed-creating'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $externalReference; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Constructor |
||
| 23 | * |
||
| 24 | * @param MiniGameId $gameId |
||
| 25 | * @param PlayerId $playerId |
||
| 26 | * @param string $externalReference |
||
| 27 | */ |
||
| 28 | 6 | public function __construct(MiniGameId $gameId, PlayerId $playerId, $externalReference) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | 3 | public function getExternalReference() |
|
| 41 | } |
||
| 42 |