main
Last change
on this file since c454c0f was c454c0f, checked in by bube-ristovska <ristovska725@…>, 12 months ago |
First commit
|
-
Property mode
set to
100644
|
File size:
592 bytes
|
Rev | Line | |
---|
[c454c0f] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | use Illuminate\Foundation\Inspiring;
|
---|
| 4 | use Illuminate\Support\Facades\Artisan;
|
---|
| 5 |
|
---|
| 6 | /*
|
---|
| 7 | |--------------------------------------------------------------------------
|
---|
| 8 | | Console Routes
|
---|
| 9 | |--------------------------------------------------------------------------
|
---|
| 10 | |
|
---|
| 11 | | This file is where you may define all of your Closure based console
|
---|
| 12 | | commands. Each Closure is bound to a command instance allowing a
|
---|
| 13 | | simple approach to interacting with each command's IO methods.
|
---|
| 14 | |
|
---|
| 15 | */
|
---|
| 16 |
|
---|
| 17 | Artisan::command('inspire', function () {
|
---|
| 18 | $this->comment(Inspiring::quote());
|
---|
| 19 | })->purpose('Display an inspiring quote');
|
---|
Note:
See
TracBrowser
for help on using the repository browser.