SymfonyQuestionHelper
class SymfonyQuestionHelper extends QuestionHelper
Symfony Style Guide compliant question helper.
Properties
protected | $helperSet | from Helper |
Methods
from Helper
static int
strlen(string $string)
Returns the length of a string, using mb_strwidth if it is available.
from Helper
static string
substr(string $string, int $from, int|null $length = null)
Returns the subset of a string, using mb_substr if it is available.
from Helper
static
from Helper
mixed
ask(InputInterface $input, OutputInterface $output, Question $question)
Asks a question to the user.
from QuestionHelper
Details
static int
strlen(string $string)
Returns the length of a string, using mb_strwidth if it is available.
static string
substr(string $string, int $from, int|null $length = null)
Returns the subset of a string, using mb_substr if it is available.
mixed
ask(InputInterface $input, OutputInterface $output, Question $question)
Asks a question to the user.