PHP Класс N98\Util\Console\Helper\ParameterHelper

Наследование: extends Symfony\Component\Console\Helper\Helper
Показать файл Открыть проект

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

Метод Описание
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.

Приватные методы

Метод Описание
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

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

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

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
Результат string

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

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]
Результат string

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

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]
Результат mixed

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

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
Результат mixed

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

Returns the canonical name of this helper.
public getName ( ) : string
Результат string The canonical name