Overview

Namespaces

  • Evenement
  • None
  • Peridot
    • Console
    • Core
    • Reporter
    • Runner
    • Scope
    • Test
  • Symfony
    • Component
      • Console
        • Command
        • Descriptor
        • Event
        • Exception
        • Formatter
        • Helper
        • Input
        • Logger
        • Output
        • Question
        • Style
        • Tester
        • Tests
          • Command
          • Descriptor
          • Fixtures
          • Formatter
          • Helper
          • Input
          • Logger
          • Output
          • Style
          • Tester

Classes

  • ApplicationTest
  • CustomApplication
  • CustomDefaultCommandApplication
  • Overview
  • Namespace
  • Class

Class CustomDefaultCommandApplication

An Application is the container for a collection of commands.

It is the main entry point of a Console application.

This class is optimized for a standard CLI environment.

Usage: $app = new Application('myapp', '1.0 (stable)'); $app->add(new SimpleCommand()); $app->run();

Symfony\Component\Console\Application
Extended by Symfony\Component\Console\Tests\CustomDefaultCommandApplication
Namespace: Symfony\Component\Console\Tests
Author: Fabien Potencier fabien@symfony.com
Located at Tests/ApplicationTest.php
Methods summary
public
# __construct( )

Overwrites the constructor in order to set a different default command.

Overwrites the constructor in order to set a different default command.

Overrides

Symfony\Component\Console\Application::__construct()
Methods inherited from Symfony\Component\Console\Application
add(), addCommands(), all(), asText(), asXml(), configureIO(), doRun(), doRunCommand(), extractNamespace(), find(), findNamespace(), get(), getAbbreviations(), getCommandName(), getDefaultCommands(), getDefaultHelperSet(), getDefaultInputDefinition(), getDefinition(), getHelp(), getHelperSet(), getLongVersion(), getName(), getNamespaces(), getTerminalDimensions(), getTerminalHeight(), getTerminalWidth(), getVersion(), has(), register(), renderException(), run(), setAutoExit(), setCatchExceptions(), setDefaultCommand(), setDefinition(), setDispatcher(), setHelperSet(), setName(), setTerminalDimensions(), setVersion()
Peridot API documentation generated by ApiGen