ScheduleServiceProvider::commands()

void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void

ScheduleServiceProvider

ScheduleServiceProvider class ScheduleServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider void register() Register the service provider. static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider array

ScheduleRunCommand::__construct()

void __construct(Schedule $schedule) Create a new command instance. Parameters Schedule $schedule Return Value void

ScheduleRunCommand::warn()

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

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

ScheduleRunCommand::setLaravel()

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

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

ScheduleRunCommand::run()

int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int

ScheduleRunCommand::question()

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

ScheduleRunCommand::option()

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