Form class Form extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from Facade static void clearResolvedInstances() Clear all of the resolved
void __construct() Create a new console command instance. Return Value void
void warn(string $string) Write a string as warning output. Parameters string $string Return Value void
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
void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel 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
int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int
void question(string $string) Write a string as question output. Parameters string $string Return Value void
string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array
void line(string $string) Write a string as standard output. Parameters string $string Return Value void
Page 647 of 996