Could do 

```php
$request = Router::getRequest(true) ?: Request::createFromGlobals();
```