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