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

  • BarBucCommand
  • Foo1Command
  • Foo2Command
  • Foo3Command
  • Foo4Command
  • Foo5Command
  • Foo6Command
  • FoobarCommand
  • FooCommand
  • FooSubnamespaced1Command
  • FooSubnamespaced2Command
  • TestCommand

Functions

  • afterEach
  • beforeEach
  • context
  • describe
  • fcontext
  • fdescribe
  • fit
  • it
  • xcontext
  • xdescribe
  • xit
  • Overview
  • Namespace
  • Class

Class FooSubnamespaced1Command

Base class for all commands.

Symfony\Component\Console\Command\Command
Extended by FooSubnamespaced1Command
Author: Fabien Potencier fabien@symfony.com
Located at Tests/Fixtures/FooSubnamespaced1Command.php
Methods summary
protected
# configure( )

Configures the current command.

Configures the current command.

Overrides

Symfony\Component\Console\Command\Command::configure()
protected null|integer
# execute( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Executes the current command.

Executes the current command.

This method is not abstract because you can use this class as a concrete class. In this case, instead of defining the execute() method, you set the code to execute by passing a Closure to the setCode() method.

Parameters

$input
An InputInterface instance
$output
An OutputInterface instance

Returns

null|integer
null or 0 if everything went fine, or an error code

Throws

LogicException
When this abstract method is not implemented

See

Symfony\Component\Console\Command\Command::setCode()

Overrides

Symfony\Component\Console\Command\Command::execute()
Methods inherited from Symfony\Component\Console\Command\Command
__construct(), addArgument(), addOption(), addUsage(), asText(), asXml(), getAliases(), getApplication(), getDefinition(), getDescription(), getHelp(), getHelper(), getHelperSet(), getName(), getNativeDefinition(), getProcessedHelp(), getSynopsis(), getUsages(), ignoreValidationErrors(), initialize(), interact(), isEnabled(), mergeApplicationDefinition(), run(), setAliases(), setApplication(), setCode(), setDefinition(), setDescription(), setHelp(), setHelperSet(), setName(), setProcessTitle()
Properties summary
public $input
#
public $output
#
Peridot API documentation generated by ApiGen