From 2be08010d5d37af364fa6915f2105d4e1920e14b Mon Sep 17 00:00:00 2001 From: Leonardo Losoviz Date: Wed, 27 May 2020 11:14:38 +0800 Subject: [PATCH] Set configuration thru ComponentConfigurationTrait --- src/Component.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Component.php b/src/Component.php index 834ddcc..56f6be7 100644 --- a/src/Component.php +++ b/src/Component.php @@ -25,9 +25,9 @@ public static function getDependedComponentClasses(): array /** * Initialize services */ - protected static function doInitialize(bool $skipSchema = false): void + protected static function doInitialize(array $configuration = [], bool $skipSchema = false): void { - parent::doInitialize($skipSchema); + parent::doInitialize($configuration, $skipSchema); self::initYAMLServices(dirname(__DIR__)); } }