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

  • ConsoleCommandEvent
  • ConsoleEvent
  • ConsoleExceptionEvent
  • ConsoleTerminateEvent
  • Overview
  • Namespace
  • Class

Class ConsoleEvent

Allows to inspect input and output of a command.

Symfony\Component\EventDispatcher\Event
Extended by Symfony\Component\Console\Event\ConsoleEvent

Direct known subclasses

Symfony\Component\Console\Event\ConsoleCommandEvent, Symfony\Component\Console\Event\ConsoleExceptionEvent, Symfony\Component\Console\Event\ConsoleTerminateEvent
Namespace: Symfony\Component\Console\Event
Author: Francesco Levorato git@flevour.net
Located at Event/ConsoleEvent.php
Methods summary
public
# __construct( Symfony\Component\Console\Command\Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
public Symfony\Component\Console\Command\Command
# getCommand( )

Gets the command that is executed.

Gets the command that is executed.

Returns

Symfony\Component\Console\Command\Command
A Command instance
public Symfony\Component\Console\Input\InputInterface
# getInput( )

Gets the input instance.

Gets the input instance.

Returns

Symfony\Component\Console\Input\InputInterface
An InputInterface instance
public Symfony\Component\Console\Output\OutputInterface
# getOutput( )

Gets the output instance.

Gets the output instance.

Returns

Symfony\Component\Console\Output\OutputInterface
An OutputInterface instance
Properties summary
protected $command
#
Peridot API documentation generated by ApiGen