PHP Класс Peridot\Console\ConfigurationReader

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$input Symfony\Component\Console\Input\InputInterface

Открытые методы

Метод Описание
__construct ( Symfony\Component\Console\Input\InputInterface $input )
read ( ) : Configuration Read configuration information from input
readInput ( Symfony\Component\Console\Input\InputInterface $input ) : Configuration Static access to reader

Защищенные методы

Метод Описание
callForOption ( string $optionName, callable $callable ) Execute a callback if the input object has a value for the given option name.

Описание методов

__construct() публичный Метод

public __construct ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface

callForOption() защищенный Метод

Execute a callback if the input object has a value for the given option name.
protected callForOption ( string $optionName, callable $callable )
$optionName string
$callable callable

read() публичный Метод

Read configuration information from input
public read ( ) : Configuration
Результат Peridot\Configuration

readInput() публичный статический Метод

Static access to reader
public static readInput ( Symfony\Component\Console\Input\InputInterface $input ) : Configuration
$input Symfony\Component\Console\Input\InputInterface
Результат Peridot\Configuration

Описание свойств

$input защищенное свойство

protected InputInterface,Symfony\Component\Console\Input $input
Результат Symfony\Component\Console\Input\InputInterface