DescriptorApplication2.php 681 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Console\Tests\Fixtures;
  11. use Symfony\Component\Console\Application;
  12. class DescriptorApplication2 extends Application
  13. {
  14. public function __construct()
  15. {
  16. parent::__construct('My Symfony application', 'v1.0');
  17. $this->add(new DescriptorCommand1());
  18. $this->add(new DescriptorCommand2());
  19. $this->add(new DescriptorCommand3());
  20. $this->add(new DescriptorCommand4());
  21. }
  22. }