1 | <?php |
||
7 | class UserEventTextExtractor implements MessageTextExtractor |
||
8 | { |
||
9 | /** |
||
10 | * @var MessageTextExtractor[] |
||
11 | */ |
||
12 | private $gameResultExtractors; |
||
13 | |||
14 | /** |
||
15 | * Constructor. |
||
16 | * |
||
17 | * @param $gameResultExtractors |
||
18 | */ |
||
19 | 9 | public function __construct(array $gameResultExtractors = []) |
|
23 | |||
24 | /** |
||
25 | * Extract the message from the game result. |
||
26 | * |
||
27 | * @param object $object |
||
28 | * @param string $languageIso |
||
29 | * @return string |
||
30 | */ |
||
31 | 9 | public function extractMessage($object, $languageIso) |
|
45 | } |
||
46 |