aboutsummaryrefslogtreecommitdiff
path: root/src/DI/container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DI/container.cpp')
-rw-r--r--src/DI/container.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/DI/container.cpp b/src/DI/container.cpp
new file mode 100644
index 0000000..4b86186
--- /dev/null
+++ b/src/DI/container.cpp
@@ -0,0 +1,6 @@
+#include "container.hpp"
+
+void Container::add(BaseObjectType type, const Ptr<IGenericWrapper> &wrapper) noexcept
+{
+ _bindings.insert({type, wrapper});
+}