PHP Class Studio\Parts\ConsoleInput

Inheritance: implements Studio\Parts\PartInputInterface
Datei anzeigen Open project: franzliedke/studio

Protected Properties

Property Type Description
$output Symfony\Component\Console\Style\StyleInterface

Public Methods

Method Description
__construct ( Symfony\Component\Console\Style\StyleInterface $output )
ask ( $question, $regex, $errorText = null, $default = null )
confirm ( $question, $default = false )

Protected Methods

Method Description
validateWith ( $regex, $errorText )

Method Details

__construct() public method

public __construct ( Symfony\Component\Console\Style\StyleInterface $output )
$output Symfony\Component\Console\Style\StyleInterface

ask() public method

public ask ( $question, $regex, $errorText = null, $default = null )

confirm() public method

public confirm ( $question, $default = false )

validateWith() protected method

protected validateWith ( $regex, $errorText )

Property Details

$output protected_oe property

protected StyleInterface,Symfony\Component\Console\Style $output
return Symfony\Component\Console\Style\StyleInterface