From 1990517b2263a080946853ed697a6d687262ae80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sat, 31 Jan 2015 15:36:04 +0100 Subject: remove Acme and AppBundle --- src/Acme/DemoBundle/Command/HelloWorldCommand.php | 48 ----------------------- 1 file changed, 48 deletions(-) delete mode 100644 src/Acme/DemoBundle/Command/HelloWorldCommand.php (limited to 'src/Acme/DemoBundle/Command/HelloWorldCommand.php') diff --git a/src/Acme/DemoBundle/Command/HelloWorldCommand.php b/src/Acme/DemoBundle/Command/HelloWorldCommand.php deleted file mode 100644 index 998cbcdf..00000000 --- a/src/Acme/DemoBundle/Command/HelloWorldCommand.php +++ /dev/null @@ -1,48 +0,0 @@ -getContainer(). - * - * @author Tobias Schultze - */ -class HelloWorldCommand extends Command -{ - /** - * {@inheritdoc} - */ - protected function configure() - { - $this - ->setName('acme:hello') - ->setDescription('Hello World example command') - ->addArgument('who', InputArgument::OPTIONAL, 'Who to greet.', 'World') - ->setHelp(<<%command.name% command greets somebody or everybody: - -php %command.full_name% - -The optional argument specifies who to greet: - -php %command.full_name% Fabien -EOF - ); - } - - /** - * {@inheritdoc} - */ - protected function execute(InputInterface $input, OutputInterface $output) - { - $output->writeln(sprintf('Hello %s!', $input->getArgument('who'))); - } -} -- cgit v1.2.3