public function add(...$parameters)
    {
        if (count($parameters) === 1) {
            $this->routes['regular'][] = ['closure' => $parameters[0], 'groupArgs' => []];
        } elseif (count($parameters) === 2) {
            $this->routes['regular'][] = ['closure' => $parameters[1], 'groupArgs' => $parameters[0]];
        } else {
            throw new \InvalidArgumentException;
        }
    }
public function add(...$parameters)
    {
        if (count($parameters) === 1) {
            $this->routes['regular'][] = ['closure' => $parameters[0], 'groupArgs' => []];
        } elseif (count($parameters) === 2) {
            $this->routes['regular'][] = ['closure' => $parameters[1], 'groupArgs' => $parameters[0]];
        } else {
            throw new \InvalidArgumentException;
        }
    }
public function add ( ... $ parameters ) { if ( count ( $ parameters ) === 1 ) { $ this -> routes [ 'regular' ] [ ] = [ 'closure' => $ parameters [ 0 ] , 'groupArgs' => [ ] ] ; } elseif ( count ( $ parameters ) === 2 ) { $ this -> routes [ 'regular' ] [ ] = [ 'closure' => $ parameters [ 1 ] , 'groupArgs' => $ parameters [ 0 ] ] ; } else { throw new \ InvalidArgumentException ; } }
Add non multilingual route

@param array ...$parameters closure or group options plus closure

@throws \InvalidArgumentException

@return void
Add non multilingual route