1 | <?php |
||
9 | class GameResultTextExtractor implements MessageTextExtractor |
||
10 | { |
||
11 | /** |
||
12 | * @var MessageTextExtractor[] |
||
13 | */ |
||
14 | private $gameResultExtractors; |
||
15 | |||
16 | /** |
||
17 | * Constructor. |
||
18 | * |
||
19 | * @param $gameResultExtractors |
||
20 | */ |
||
21 | 9 | public function __construct(array $gameResultExtractors = []) |
|
25 | |||
26 | /** |
||
27 | * Extract the message from the game result. |
||
28 | * |
||
29 | * @param object $object |
||
30 | * @return TranslatableResource |
||
31 | */ |
||
32 | 9 | public function extractMessage($object) |
|
46 | } |
||
47 |