Exemple #1
0
 public function __construct(array $result)
 {
     if (!isset($result['matches'])) {
         $result['matches'] = [];
     }
     $this->result = $result;
     parent::__construct($result['matches']);
 }