use Symfony\Component\Console\Input\InputInterface;
7
use Symfony\Component\Console\Output\OutputInterface;
8
use Symfony\Component\Console\Style\SymfonyStyle;
9
10
abstract class StubCommand extends Command
11
{
12
protected function execute(InputInterface $input, OutputInterface $output)
13
{
14
(new SymfonyStyle($input, $output))
15
->error(
16
\sprintf("To run \"%s\" you need the \"%s\" which is currently not installed.\n\nTry running \"composer require %s\".", static::$defaultName, 'MakerBundle', 'symfony/maker-bundle --dev')