1 | <?php |
||
14 | class Set extends Collection implements TypeableInterface |
||
15 | { |
||
16 | /** |
||
17 | * @param $offset |
||
18 | * @internal |
||
19 | */ |
||
20 | 28 | protected function initialize($offset) |
|
30 | |||
31 | /** |
||
32 | * @param $type |
||
33 | * @param Context|callable $context |
||
34 | * @return $this |
||
35 | */ |
||
36 | 30 | public static function ofType($type, $context = null) |
|
41 | |||
42 | /** |
||
43 | * @param $type |
||
44 | * @param array $data |
||
45 | * @param Context|callable $context |
||
46 | * @return $this |
||
47 | */ |
||
48 | 27 | public static function ofTypeAndData($type, array $data, $context = null) |
|
52 | |||
53 | |||
54 | 1 | public function __toString() |
|
62 | } |
||
63 |