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 CustomApplication

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\CustomApplication
Namespace: Symfony\Component\Console\Tests
Author: Fabien Potencier fabien@symfony.com
Located at Tests/ApplicationTest.php
Methods summary
protected Symfony\Component\Console\Input\InputDefinition
# getDefaultInputDefinition( )

Overwrites the default input definition.

Overwrites the default input definition.

Returns

Symfony\Component\Console\Input\InputDefinition
An InputDefinition instance

Overrides

Symfony\Component\Console\Application::getDefaultInputDefinition()
protected Symfony\Component\Console\Helper\HelperSet
# getDefaultHelperSet( )

Gets the default helper set with the helpers that should always be available.

Gets the default helper set with the helpers that should always be available.

Returns

Symfony\Component\Console\Helper\HelperSet
A HelperSet instance

Overrides

Symfony\Component\Console\Application::getDefaultHelperSet()
Methods inherited from Symfony\Component\Console\Application
__construct(), add(), addCommands(), all(), asText(), asXml(), configureIO(), doRun(), doRunCommand(), extractNamespace(), find(), findNamespace(), get(), getAbbreviations(), getCommandName(), getDefaultCommands(), 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