setDescription('Resets the compiled DI container'); } protected function execute(InputInterface $input, OutputInterface $output): int { $file = DIContainer::getCompilationPath() . '/' . DIContainer::getCompilationClass() . '.php'; if (file_exists($file) && !unlink($file)) { $output->writeln('Could not removed compiled file.'); return Command::FAILURE; } return Command::SUCCESS; } }