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

  • DescriptorApplication1
  • DescriptorApplication2
  • DescriptorCommand1
  • DescriptorCommand2
  • DummyOutput
  • Overview
  • Namespace
  • Class

Class DescriptorApplication2

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\Fixtures\DescriptorApplication2
Namespace: Symfony\Component\Console\Tests\Fixtures
Author: Fabien Potencier fabien@symfony.com
Located at Tests/Fixtures/DescriptorApplication2.php
Methods summary
public
# __construct( string $name,…, string $version,… )

Constructor.

Constructor.

Parameters

$name,…
The name of the application
$version,…
The version of the application

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