src/php/Route.php
public function execute(...$constructParameters)
    {
        $class      = $this->class;
        $method     = $this->method;
        $parameters = array_values($this->parameters);

        $instance = new $class(...$constructParameters);
        return $instance->$method(...$parameters);
    }
public function execute(...$constructParameters)
    {
        $class      = $this->class;
        $method     = $this->method;
        $parameters = array_values($this->parameters);

        $instance = new $class(...$constructParameters);
        return $instance->$method(...$parameters);
    }
Instantiates the route's class and calls the route's methods using the parameters found in the url

@return mixed