protected static
requireContainer( ?ContainerInterface $container = null, bool $getGlobalContainer = true, bool $createGlobalContainer = false, ): ContainerInterface
Get the given container, optionally falling back to the global container or creating a standalone instance if no container is provided