From 5888f544b5b8d736a99fb780cfbfea3951816d76 Mon Sep 17 00:00:00 2001 From: Eduardo Aguad Date: Mon, 9 Oct 2023 00:24:32 -0300 Subject: [PATCH] fix: 237 --- architecture/service-container.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/architecture/service-container.md b/architecture/service-container.md index b7c27c3..4748f4e 100644 --- a/architecture/service-container.md +++ b/architecture/service-container.md @@ -177,7 +177,7 @@ Continuing with the example above, the following will work out of the box (assum class MyService: def __init__(self, some_other_dependency: SomeOtherClass): pass - + def do_something(self): pass @@ -254,13 +254,13 @@ If you need to utilize a container outside the normal flow of Masonite like insi This would look something like: ```python -from wsgi import container +from masonite.container import Container from masonite import Queue class SomeCommand: def handle(self): - queue = container.make(Queue) + queue = Container().make(Queue) queue.push(..) ```