string
$version = self::SHOPWARE_FALLBACK_VERSION,
?Connection
$connection = null,
?string
$projectDir = null
) { date_default_timezone_set('UTC'
);
parent::
__construct($environment,
$debug);
self::
$connection =
$connection;
$this->pluginLoader =
$pluginLoader;
$version = VersionParser::
parseShopwareVersion($version);
$this->shopwareVersion =
$version['version'
];
$this->shopwareVersionRevision =
$version['revision'
];
$this->projectDir =
$projectDir;
} /**
* @return iterable<BundleInterface>
*/
public function registerBundles(): iterable
{ /** @var array<class-string<Bundle>, array<string, bool>> $bundles */