Skip to content
Snippets Groups Projects
Commit 24a54d19 authored by Vadim Justus's avatar Vadim Justus
Browse files

Rename hello-world command class

parent c31142dc
Branches step-2
No related tags found
No related merge requests found
qs 100644 → 100755
#!/usr/bin/env php
<?php
use TechDivision\QsWorkshop\Command\HelloWorld;
use TechDivision\QsWorkshop\Command\HelloWorldCommand;
use Symfony\Component\Console\Application;
if (file_exists(__DIR__ . '/../../autoload.php')) {
......@@ -15,6 +15,6 @@ if (file_exists(__DIR__ . '/../../autoload.php')) {
*/
$app = new Application('QS Workshop', '1.0.0');
$app->add(new HelloWorld());
$app->add(new HelloWorldCommand());
$app->run();
......@@ -6,7 +6,7 @@ use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class HelloWorld extends Command
class HelloWorldCommand extends Command
{
protected function configure()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment