ClearCompiledCommand::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

ClearCompiledCommand::callSilent()

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

ClearCompiledCommand::arguments()

array arguments() Get all of the arguments passed to the command. Return Value array

ClearCompiledCommand::argument()

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

ClearCompiledCommand::anticipate()

string anticipate(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

ClearCompiledCommand

ClearCompiledCommand class ClearCompiledCommand extends Command (View source) Methods void __construct() Create a new console command instance. from Command 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(

ClearCommand::setLaravel()

void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void

ClearCommand::__construct()

void __construct(CacheManager $cache) Create a new cache clear command instance. Parameters CacheManager $cache Return Value void

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::table()

void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void