From 7a53844c7d8d50dbeccf292aa3ce0891e8f591be Mon Sep 17 00:00:00 2001 From: Sergey Penkovsky Date: Fri, 10 Dec 2021 21:53:14 +0300 Subject: [PATCH] updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d461ba..663a76a 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ There are two main methods for initializing a custom instance `toInstance ()` an `withName()` - takes a string to name the instance. By this name, it will be possible to extract instance from the DI container -`singeltone()` - sets a flag in the Binding that tells the DI container that there is only one dependency. +`singleton()` - sets a flag in the Binding that tells the DI container that there is only one dependency. Example: