PHP Class N98\Util\Console\Helper\ParameterHelper

Inheritance: extends Symfony\Component\Console\Helper\Helper
Afficher le fichier Open project: netz98/n98-magerun

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat string

askPassword() public méthode

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]
Résultat string

askStore() public méthode

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]
Résultat mixed

askWebsite() public méthode

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
Résultat mixed

getName() public méthode

Returns the canonical name of this helper.
public getName ( ) : string
Résultat string The canonical name