well, that's only a guard condition to avoid a fatal error if this code is called outside of the "request" scope. We do this in several places already, maybe I can replace this condition by `if ( $this->container->isScopeActive( 'request' ) )` which is bit more self explanatory.