$this->dir =
$rootDir . '/platform/src';
} protected function configure(): void
{ parent::
configure();
$this->
addArgument('whitelist', InputArgument::IS_ARRAY
);
} protected function execute(InputInterface
$input, OutputInterface
$output): int
{ if ($this->
hasInactiveFeatureFlag()) { throw new \
RuntimeException('You have to enable all feature flags when running this command. Simply add FEATURE_ALL=major to your .env file'
);
} $io =
new ShopwareStyle($input,
$output);
$io->
title('DAL generate hydrators'
);
if (!
file_exists($this->dir
)) { mkdir($this->dir
);
} $entities =
$this->registry->
getDefinitions();