TerminableMiddleware deprecated::handle()

mixed handle(Request $request, Closure $next) Handle an incoming request. Parameters Request $request Closure $next Return Value mixed

TerminableMiddleware deprecated

TerminableMiddleware deprecated interface TerminableMiddleware implements Middleware (View source) deprecated since version 5.1. Methods mixed handle(Request $request, Closure $next) Handle an incoming request. from Middleware void terminate(Request $request, Response $response) Perform any final actions for the request lifecycle.

Task Scheduling

Task Scheduling Introduction Defining Schedules Schedule Frequency Options Preventing Task Overlaps Maintenance Mode Task Output Task Hooks Introduction In the past, you may have generated a Cron entry for each task you needed to schedule on your server. However, this can quickly become a pain, because your task schedule is no longer in source control and you must SSH into your server to add additional Cron entries. Laravel's command scheduler allows you to fluently and expressively define

TailCommand::__construct()

void __construct() Create a new console command instance. Return Value void

TailCommand::table()

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

TailCommand::setLaravel()

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

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

TailCommand::run()

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

TailCommand::question()

void question(string $string) Write a string as question output. Parameters string $string Return Value void

TailCommand::option()

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