Skeleton ready
This commit is contained in:
17
kernel/feature/provider.py
Normal file
17
kernel/feature/provider.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from punq import Container
|
||||
|
||||
|
||||
class Provider(ABC):
|
||||
_container: Container
|
||||
|
||||
def __init__(self, container: Container) -> None:
|
||||
self._container = container
|
||||
|
||||
@abstractmethod
|
||||
def register(self) -> None:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def bootstrap(self) -> None:
|
||||
pass
|
||||
Reference in New Issue
Block a user