Is it okay to move the container to a service like this in the code? or is there a better way?
/* Stream Wrapper Manager service */
$di->setShared('stream_wrapper_manager', function () {
$streamWrapperManager = new \Druphal\Core\StreamWrapper\StreamWrapperManager();
$streamWrapperManager->setContainer($this); // it is right?
return $streamWrapperManager;
});