From f042fd826b76509f266e033d242d6035b7c7fe62 Mon Sep 17 00:00:00 2001 From: Leonardo Losoviz Date: Tue, 26 May 2020 21:35:56 +0800 Subject: [PATCH] Updated how to initialize Component --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d65ccf3..12efe71 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,9 @@ composer require getpop/filestore Initialize the component: ``` php -\PoP\FileStore\Component::initialize(); +\PoP\Root\ComponentLoader::initializeComponents([ + \PoP\FileStore\Component::class, +]); ``` ## Standards