From b20b871e2e3acfd5b75ce01f9a7e3e61f51f4819 Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Sat, 16 Mar 2019 14:23:30 +0100 Subject: [PATCH] allow custom providers --- ipf/project.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ipf/project.php b/ipf/project.php index bb9a787..ddad1f6 100644 --- a/ipf/project.php +++ b/ipf/project.php @@ -82,6 +82,10 @@ final class IPF_Project $this->container->register(new IPF_Cli_Provider()); + foreach ($this->container['settings']->get('providers', array()) as $providerClass) { + $this->container->register(new $providerClass); + } + if (IPF::get('debug')) { error_reporting(E_ALL); } -- 2.49.0