private function getRouteArguments(array $options = [])
    {
        $routeArguments = [];
        foreach ($options as $key => $value) {
            if (array_key_exists($key, $this->options)) {
                $this->options[$key] = $value;
                continue;
            }
            $routeArguments[$key] = $value;
        }
        return $routeArguments;
    }
private function getRouteArguments(array $options = [])
    {
        $routeArguments = [];
        foreach ($options as $key => $value) {
            if (array_key_exists($key, $this->options)) {
                $this->options[$key] = $value;
                continue;
            }
            $routeArguments[$key] = $value;
        }
        return $routeArguments;
    }
private function getRouteArguments ( array $ options = [ ] ) { $ routeArguments = [ ] ; foreach ( $ options as $ key => $ value ) { if ( array_key_exists ( $ key , $ this -> options ) ) { $ this -> options [ $ key ] = $ value ; continue ; } $ routeArguments [ $ key ] = $ value ; } return $ routeArguments ; }
Get the route arguments from provided options

For options that match the default options those will
override the default value.

@param array $options

@return array
Get the route arguments from provided options