Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.humitest.fr
/
htdocs
/
vendor
/
symfony
/
maker-bundle
/
src
/
Maker
/
/srv/data/web/vhosts/www.humitest.fr/htdocs/vendor/symfony/maker-bundle/src/Maker/AbstractMaker.php
<?php /* * This file is part of the Symfony MakerBundle package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\MakerBundle\Maker; use Symfony\Bundle\MakerBundle\ConsoleStyle; use Symfony\Bundle\MakerBundle\DependencyBuilder; use Symfony\Bundle\MakerBundle\MakerInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; /** * Convenient abstract class for makers. */ abstract class AbstractMaker implements MakerInterface { public function interact(InputInterface $input, ConsoleStyle $io, Command $command) { } protected function writeSuccessMessage(ConsoleStyle $io) { $io->newLine(); $io->writeln(' <bg=green;fg=white> </>'); $io->writeln(' <bg=green;fg=white> Success! </>'); $io->writeln(' <bg=green;fg=white> </>'); $io->newLine(); } protected function addDependencies(array $dependencies, string $message = null): string { $dependencyBuilder = new DependencyBuilder(); foreach ($dependencies as $class => $name) { $dependencyBuilder->addClassDependency($class, $name); } return $dependencyBuilder->getMissingPackagesMessage( $this->getCommandName(), $message ); } }