From ba3aa238d6007ad8508da530639de8e056a338af Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Thu, 1 Oct 2020 22:23:32 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dbe6c50..2c47a18 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ public function get(string $key, $default = null) **Examples** ```php -$registry->set('movies.the-thin-red-line.title', 'The Thin Red Line'); +$title = $registry->get('movies.the-thin-red-line.title', 'The Thin Red Line'); ``` ##### Method: `has()`