string __toString() Convert the channel instance to a string. Return Value string
Channel class Channel (View source) Properties string $name The channel's name.
void __construct(string $name) Create a new channel instance. Parameters string $name Return Value void
void table(array $headers, array $rows, string $style = 'default') Format input to textual table Parameters array $headers array $rows string $style Return Value void
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
void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel Return Value void
string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array
void question(string $string) Write a string as question output. Parameters string $string Return Value void
int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int
void line(string $string) Write a string as standard output. Parameters string $string Return Value void
Page 869 of 996