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

  • Application
  • CliOptionParser
  • Command
  • ConfigurationReader
  • Environment
  • InputDefinition
  • Version
  • Overview
  • Namespace
  • Class

Class ConfigurationReader

The ConfigurationReader is responsible for building a Configuration object from an InputInterface.

Namespace: Peridot\Console
Package: Peridot\Console
Located at Console/ConfigurationReader.php
Methods summary
public
# __construct( Symfony\Component\Console\Input\InputInterface $input )

Parameters

$input
public Peridot\Configuration
# read( )

Read configuration information from input

Read configuration information from input

Returns

Peridot\Configuration
public static Peridot\Configuration
# readInput( Symfony\Component\Console\Input\InputInterface $input )

Static access to reader

Static access to reader

Parameters

$input

Returns

Peridot\Configuration
protected
# callForOption( string $optionName, callable $callable )

Execute a callback if the input object has a value for the given option name.

Execute a callback if the input object has a value for the given option name.

Parameters

$optionName
$callable
Properties summary
protected Symfony\Component\Console\Input\InputInterface $input
#
Peridot API documentation generated by ApiGen