private function getVarRegexes() : array
    {
        $variableRegexes = [];

        foreach ($this->groupOptionsStack as $groupOptions) {
            if (isset($groupOptions['vars'])) {
                $variableRegexes = array_merge($variableRegexes, $groupOptions['vars']);
            }
        }

        return $variableRegexes;
    }
private function getVarRegexes() : array
    {
        $variableRegexes = [];

        foreach ($this->groupOptionsStack as $groupOptions) {
            if (isset($groupOptions['vars'])) {
                $variableRegexes = array_merge($variableRegexes, $groupOptions['vars']);
            }
        }

        return $variableRegexes;
    }
private function getVarRegexes ( ) : array { $ variableRegexes = [ ] ; foreach ( $ this -> groupOptionsStack as $ groupOptions ) { if ( isset ( $ groupOptions [ 'vars' ] ) ) { $ variableRegexes = array_merge ( $ variableRegexes , $ groupOptions [ 'vars' ] ) ; } } return $ variableRegexes ; }
Gets the variable regexes from the current group stack

@return array The The mapping of variable names to regexes
Gets the variable regexes from the current group stack