This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/fixtures/Symfony/Components/Console/TestCommand.php
2010-05-06 13:25:53 +02:00

45 lines
993 B
PHP

<?php
use Symfony\Components\Console\Command\Command;
use Symfony\Components\Console\Input\InputInterface;
use Symfony\Components\Console\Output\OutputInterface;
class TestCommand extends Command
{
protected function configure()
{
$this
->setName('namespace:name')
->setAliases(array('name'))
->setDescription('description')
->setHelp('help')
;
}
public function mergeApplicationDefinition()
{
return parent::mergeApplicationDefinition();
}
public function getApplication()
{
return $this->application;
}
protected function execute(InputInterface $input, OutputInterface $output)
{
$output->writeln('execute called');
}
protected function interact(InputInterface $input, OutputInterface $output)
{
$output->writeln('interact called');
}
public function getHelper($name)
{
return parent::getHelper($name);
}
}