ClearCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string

ClearCommand::run()

int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int

ClearCommand::question()

void question(string $string, null|int|string $verbosity = null) Write a string as question output. Parameters string $string null|int|string $verbosity Return Value void

ClearCommand::option()

string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array

ClearCommand::line()

void line(string $string, string $style = null, null|int|string $verbosity = null) Write a string as standard output. Parameters string $string string $style null|int|string $verbosity Return Value void

ClearCommand::info()

void info(string $string, null|int|string $verbosity = null) Write a string as information output. Parameters string $string null|int|string $verbosity Return Value void

ClearCommand::hasOption()

bool hasOption(string $name) Determine if the given option is present. Parameters string $name Return Value bool

ClearCommand::hasArgument()

bool hasArgument(string|int $name) Determine if the given argument is present. Parameters string|int $name Return Value bool

ClearCommand::handle()

void handle() Execute the console command. Return Value void

ClearCommand::getOutput()

OutputInterface getOutput() Get the output implementation. Return Value OutputInterface