private function applyGroupRouteTemplates(
        string &$pathTemplate,
        string &$hostTemplate = null,
        bool &$isHttpsOnly = false
    ): void {
        $groupPathTemplate = '';
        $groupHostTemplate = '';
        $groupIsHttpsOnly = false;

        foreach ($this->groupOptionsStack as $groupOptions) {
            $groupPathTemplate .= $groupOptions->pathTemplate;
            $groupHostTemplate = $groupOptions->hostTemplate . $groupHostTemplate;
            $groupIsHttpsOnly = $groupIsHttpsOnly || $groupOptions->isHttpsOnly;
        }

        $pathTemplate = $groupPathTemplate . $pathTemplate;
        $hostTemplate = ($hostTemplate ?? '') . $groupHostTemplate;
        $isHttpsOnly = $isHttpsOnly || $groupIsHttpsOnly;
    }
private function applyGroupRouteTemplates(
        string &$pathTemplate,
        string &$hostTemplate = null,
        bool &$isHttpsOnly = false
    ): void {
        $groupPathTemplate = '';
        $groupHostTemplate = '';
        $groupIsHttpsOnly = false;

        foreach ($this->groupOptionsStack as $groupOptions) {
            $groupPathTemplate .= $groupOptions->pathTemplate;
            $groupHostTemplate = $groupOptions->hostTemplate . $groupHostTemplate;
            $groupIsHttpsOnly = $groupIsHttpsOnly || $groupOptions->isHttpsOnly;
        }

        $pathTemplate = $groupPathTemplate . $pathTemplate;
        $hostTemplate = ($hostTemplate ?? '') . $groupHostTemplate;
        $isHttpsOnly = $isHttpsOnly || $groupIsHttpsOnly;
    }
private function applyGroupRouteTemplates ( string & $ pathTemplate , string & $ hostTemplate = null , bool & $ isHttpsOnly = false ) : void { $ groupPathTemplate = '' ; $ groupHostTemplate = '' ; $ groupIsHttpsOnly = false ; foreach ( $ this -> groupOptionsStack as $ groupOptions ) { $ groupPathTemplate .= $ groupOptions -> pathTemplate ; $ groupHostTemplate = $ groupOptions -> hostTemplate . $ groupHostTemplate ; $ groupIsHttpsOnly = $ groupIsHttpsOnly || $ groupOptions -> isHttpsOnly ; } $ pathTemplate = $ groupPathTemplate . $ pathTemplate ; $ hostTemplate = ( $ hostTemplate ?? '' ) . $ groupHostTemplate ; $ isHttpsOnly = $ isHttpsOnly || $ groupIsHttpsOnly ; }
Applies all the group options to a route

@param string $pathTemplate The path template to apply settings to
@param string|null $hostTemplate The host template to apply settings to
@param bool $isHttpsOnly Whether or not the group is HTTPS-only
Applies all the group options to a route