protected function getInternalDomains()
    {
        $internalDomains = [$this->getApplicationDomainRegex()];

        foreach ($this->app['routes'] as $route) {
            if (!is_null($route->domain())) {
                $internalDomains[] = $this->getDomainRegex($route);
            }
        }

        return array_unique($internalDomains);
    }
protected function getInternalDomains()
    {
        $internalDomains = [$this->getApplicationDomainRegex()];

        foreach ($this->app['routes'] as $route) {
            if (!is_null($route->domain())) {
                $internalDomains[] = $this->getDomainRegex($route);
            }
        }

        return array_unique($internalDomains);
    }
protected function getInternalDomains ( ) { $ internalDomains = [ $ this -> getApplicationDomainRegex ( ) ] ; foreach ( $ this -> app [ 'routes' ] as $ route ) { if ( ! is_null ( $ route -> domain ( ) ) ) { $ internalDomains [ ] = $ this -> getDomainRegex ( $ route ) ; } } return array_unique ( $ internalDomains ) ; }
Returns a list of recognized domain names.
This elements of this list are regular expressions.

@return array
Returns a list of recognized domain names . This elements of this list are regular expressions .