int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int
void error(string $string, null|int|string $verbosity = null) Write a string as error output. Parameters string $string null|int|string $verbosity Return Value void
static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void
string getDefaultConnection() Get the default connection name. Return Value string
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
void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel Return Value void
$this after(callable $callback) Register a callback to run after all Gate checks. Parameters callable $callback Return Value $this
$this setReadPdo(PDO|null $pdo) Set the PDO connection used for reading. Parameters PDO|null $pdo Return Value $this
CanResetPassword interface CanResetPassword (View source) Methods string getEmailForPasswordReset() Get the e-mail address where password reset links are sent. void sendPasswordResetNotification(string $token) Send the password reset notification.
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
Page 66 of 996