| 1 | <?php |
||
| 25 | class Helper |
||
| 26 | { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * |
||
| 30 | * |
||
| 31 | * @since 0.1.0 |
||
| 32 | * |
||
| 33 | * @param ReflectionParameter[] $params The reflection parameters to parse. |
||
| 34 | * @param array $args The arguments to check against. |
||
| 35 | * @return array The correctly ordered arguments to pass to the reflected callable. |
||
| 36 | * @throws RuntimeException If a $param does not have a name() method. |
||
| 37 | */ |
||
| 38 | 10 | public static function parseParams(array $params, $args) |
|
| 58 | } |
||
| 59 |