1 | <?php |
||
10 | final class SimpleMatch implements CreatableFromArray |
||
11 | { |
||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | private $matches; |
||
16 | |||
17 | /** |
||
18 | * @param array $matches |
||
19 | */ |
||
20 | private function __construct(array $matches) |
||
24 | |||
25 | /** |
||
26 | * @param array $data |
||
27 | * |
||
28 | * @return |
||
29 | */ |
||
30 | public static function createFromArray(array $data) |
||
34 | |||
35 | /** |
||
36 | * @return array |
||
37 | */ |
||
38 | public function getMatches() |
||
42 | } |
||
43 |