annotate routes/console.php @ 0:9d7dcd54c677

Initial Commit and package setup
author luka
date Sat, 23 Aug 2025 22:20:51 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
1 <?php
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
2
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
3 use Illuminate\Foundation\Inspiring;
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
4 use Illuminate\Support\Facades\Artisan;
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
5
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
6 Artisan::command('inspire', function () {
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
7 $this->comment(Inspiring::quote());
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
8 })->purpose('Display an inspiring quote');