PHP Class N98\Util\Console\Helper\ParameterHelper

Inheritance: extends Symfony\Component\Console\Helper\Helper
Datei anzeigen Open project: netz98/n98-magerun

Public Methods

Method Description
askEmail ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $argumentName = 'email' ) : string
askPassword ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $argumentName = 'password', boolean $needDigits = true ) : string
askStore ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $argumentName = 'store', boolean $withDefaultStore = false ) : mixed
askWebsite ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $argumentName = 'website' ) : mixed
getName ( ) : string Returns the canonical name of this helper.

Private Methods

Method Description
askAndValidate ( Symfony\Component\Console\Output\OutputInterface $output, string | array $question, callable $callback ) : string
createValidator ( ) : Validator
getValidator ( ) : Validator
validateArgument ( Symfony\Component\Console\Output\OutputInterface $output, string $name, string $value, Symfony\Component\Validator\Constraints\Collection $constraints ) : string
validateValue ( string $name, string $value, Symfony\Component\Validator\Constraints\Collection $constraints ) : Symfony\Component\Validator\ConstraintViolationInterface[] | Symfony\Component\Validator\ConstraintViolationListInterface
websitesQuestion ( $storeManager ) : array

Method Details

askEmail() public method

public askEmail ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $argumentName = 'email' ) : string
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$argumentName string
return string

askPassword() public method

public askPassword ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $argumentName = 'password', boolean $needDigits = true ) : string
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$argumentName string
$needDigits boolean [optional]
return string

askStore() public method

public askStore ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $argumentName = 'store', boolean $withDefaultStore = false ) : mixed
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$argumentName string
$withDefaultStore boolean [optional]
return mixed

askWebsite() public method

public askWebsite ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $argumentName = 'website' ) : mixed
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$argumentName string
return mixed

getName() public method

Returns the canonical name of this helper.
public getName ( ) : string
return string The canonical name