| 1 | <?php |
||
| 11 | class Types |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @return \Closure |
||
| 15 | */ |
||
| 16 | 9 | public static function string(): \Closure |
|
| 20 | |||
| 21 | /** |
||
| 22 | * @return \Closure |
||
| 23 | */ |
||
| 24 | 6 | public static function int(): \Closure |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @return \Closure |
||
| 31 | */ |
||
| 32 | 3 | public static function float(): \Closure |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return \Closure |
||
| 39 | */ |
||
| 40 | 1 | public static function boolean(): \Closure |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return \Closure |
||
| 47 | */ |
||
| 48 | public static function array(): \Closure |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return \Closure |
||
| 55 | */ |
||
| 56 | public static function callable(): \Closure |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @return \Closure |
||
| 63 | */ |
||
| 64 | 1 | public static function object(): \Closure |
|
| 68 | |||
| 69 | /** |
||
| 70 | * @return \Closure |
||
| 71 | */ |
||
| 72 | 1 | public static function numeric(): \Closure |
|
| 76 | |||
| 77 | /** |
||
| 78 | * @param string $class |
||
| 79 | * |
||
| 80 | * @return \Closure |
||
| 81 | */ |
||
| 82 | public static function instanceof(string $class): \Closure |
||
| 89 | } |