if (isset($options['priority'
])) { $options['priority'
] =
abs((int) $options['priority'
]);
if ($options['priority'
] > 0
) { $this->prioritizeDetected = true;
} } // Hostname limiting?
if (!
empty($options['hostname'
])) { // @todo determine if there's a way to whitelist hosts?
if (!
$this->
checkHostname($options['hostname'
])) { return;
} $overwrite = true;
} // Limiting to subdomains?
elseif (!
empty($options['subdomain'
])) { // If we don't match the current subdomain, then
// we don't need to add the route.
if (!
$this->
checkSubdomains($options['subdomain'
])) { return;
}