ClearCommand::handle()

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

ClearCommand::hasArgument()

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

ClearCommand::callSilent()

int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int

ClearCommand::comment()

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

ClearCommand::call()

int call(string $command, array $arguments = array()) Call another console command. Parameters string $command array $arguments Return Value int

ClearCommand::choice()

string choice(string $question, array $choices, string $default = null, mixed $attempts = null, bool $multiple = null) Give the user a single choice from an array of answers. Parameters string $question array $choices string $default mixed $attempts bool $multiple Return Value string

ClearCommand::confirm()

bool confirm(string $question, bool $default = false) Confirm a question with the user. Parameters string $question bool $default Return Value bool

ClearCommand::askWithCompletion()

string askWithCompletion(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

ClearCommand

ClearCommand class ClearCommand extends Command (View source) Methods void __construct(CacheManager $cache) Create a new cache clear command instance. int run(InputInterface $input, OutputInterface $output) Run the console command. from Command int call(string $command, array $arguments = array()) Call another console command. from Command int callSilent(string $command, array $arguments = array()) Call another console command silently. from Command bool hasArgument(strin

ClearCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string