Symfony Style Guide compliant question helper.
- author Kevin Bond
CloneableInstantiable
Methods |
Properties |
Methods |
protected writeError(Symfony |
protected writePrompt(Symfony |
Methods |
private getEofShortcut() : string |
Methods |
Symfony Style Guide compliant question helper.
Methods |
public Symfony\Component\Console\Helper\QuestionHelper::ask(Symfony Asks a question to the user.
|
public static Symfony\Component\Console\Helper\QuestionHelper::disableStty() : void Prevents usage of stty. |
public static Symfony\Component\Console\Helper\Helper::formatMemory(int $memory) : string |
public static Symfony\Component\Console\Helper\Helper::formatTime(int|float $secs, int $precision = 1) : string |
public Symfony\Component\Console\Helper\Helper::getHelperSet() : ?Symfony |
public Symfony\Component\Console\Helper\QuestionHelper::getName() : string |
public static Symfony\Component\Console\Helper\Helper::length(?string $string) : int Returns the length of a string, using mb_strlen if it is available. The length is related to how many bytes the string will use. |
public static Symfony\Component\Console\Helper\Helper::removeDecoration(Symfony |
public Symfony\Component\Console\Helper\Helper::setHelperSet(?Symfony |
public static Symfony\Component\Console\Helper\Helper::substr(?string $string, int $from, ?int $length = NULL) : string Returns the subset of a string, using mb_substr if it is available. |
public static Symfony\Component\Console\Helper\Helper::width(?string $string) : int Returns the width of a string, using mb_strwidth if it is available. The width is how many characters positions the string will use. |
Properties |
protected ?Symfony |
Methods |
protected Symfony\Component\Console\Helper\QuestionHelper::formatChoiceQuestionChoices(Symfony
|
protected writeError(Symfony |
protected writePrompt(Symfony |
Methods |
private getEofShortcut() : string |
Methods |
public static Symfony\Component\Console\Helper\QuestionHelper::disableStty() : void Prevents usage of stty. |
public static Symfony\Component\Console\Helper\Helper::formatMemory(int $memory) : string |
public static Symfony\Component\Console\Helper\Helper::formatTime(int|float $secs, int $precision = 1) : string |
public static Symfony\Component\Console\Helper\Helper::length(?string $string) : int Returns the length of a string, using mb_strlen if it is available. The length is related to how many bytes the string will use. |
public static Symfony\Component\Console\Helper\Helper::removeDecoration(Symfony |
public static Symfony\Component\Console\Helper\Helper::substr(?string $string, int $from, ?int $length = NULL) : string Returns the subset of a string, using mb_substr if it is available. |
public static Symfony\Component\Console\Helper\Helper::width(?string $string) : int Returns the width of a string, using mb_strwidth if it is available. The width is how many characters positions the string will use. |