private function initializeComponentConfigurations()
{
foreach ($this->webinyComponents as $c) {
$componentConfig = $this->componentConfigs->get($c, false);
if ($componentConfig) {
$class = 'Webiny\\Component\\' . $c . '\\' . $c;
$method = 'setConfig';
try {
$class::$method($componentConfig);
} catch (\Exception $e) {
// ignore it ... probably user-based component
}
}
}
}