private function matchExact(): bool
    {
        foreach ($this->routesExact as $route) {
            if ($this->uri === $route['u']) { // compare the current URI array to this route URI array
                $this->control = $route['c']; // set control or this exact match

                return true; // exact match found
            }
        }

        return false; // exact match not found
    }
private function matchExact(): bool
    {
        foreach ($this->routesExact as $route) {
            if ($this->uri === $route['u']) { // compare the current URI array to this route URI array
                $this->control = $route['c']; // set control or this exact match

                return true; // exact match found
            }
        }

        return false; // exact match not found
    }
private function matchExact ( ) : bool { foreach ( $ this -> routesExact as $ route ) { if ( $ this -> uri === $ route [ 'u' ] ) { // compare the current URI array to this route URI array $ this -> control = $ route [ 'c' ] ; // set control or this exact match return true ; // exact match found } } return false ; // exact match not found }
Match URI to an exact route
@return bool
Match URI to an exact route