관리-도구
편집 파일: Foo2Command.php
<?php use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class Foo2Command extends Command { protected function configure() { $this ->setName('foo1:bar') ->setDescription('The foo1:bar command') ->setAliases(array('afoobar2')) ; } protected function execute(InputInterface $input, OutputInterface $output) { } }