PHP Classes

File: routes/console.php

Recommend this page to a friend!
  Classes of Okanlawon Anuoluwapo   Book Library   routes/console.php   Download  
File: routes/console.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Book Library
Application to manage a book library
Author: By
Last change:
Date: 1 month ago
Size: 220 bytes
 

Contents

Class file image Download
<?php

use Illuminate\Foundation\Inspiring;
use
Illuminate\Support\Facades\Artisan;

Artisan::command('inspire', function () {
   
$this->comment(Inspiring::quote());
})->
purpose('Display an inspiring quote')->hourly();