src/Router.php
private function arrangeMethodParameters(
        string $class,
        string $method,
        array $parameters,
        ServerRequestInterface $request
    ) {
        return $this->arrangeParameters(new ReflectionMethod($class, $method), $parameters, $request);
    }
private function arrangeMethodParameters(
        string $class,
        string $method,
        array $parameters,
        ServerRequestInterface $request
    ) {
        return $this->arrangeParameters(new ReflectionMethod($class, $method), $parameters, $request);
    }
Arrange parameters for given method

@param string $class
@param string $method
@param array $parameters
@param ServerRequestInterface $request
@return array
@throws ReflectionException