PHP Classes

File: app/Console/Kernel.php

Recommend this page to a friend!
  Classes of Renato De Oliveira Lucena   PHP Pokemon Script   app/Console/Kernel.php   Download  
File: app/Console/Kernel.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 6 years ago
Size: 819 bytes
 

Contents

Class file image Download
<?php

namespace App\Console;

use
Illuminate\Console\Scheduling\Schedule;
use
Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class
Kernel extends ConsoleKernel
{
   
/**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
   
protected $commands = [
       
//
   
];

   
/**
     * Define the application's command schedule.
     *
     * @param \Illuminate\Console\Scheduling\Schedule $schedule
     * @return void
     */
   
protected function schedule(Schedule $schedule)
    {
       
// $schedule->command('inspire')
        // ->hourly();
   
}

   
/**
     * Register the Closure based commands for the application.
     *
     * @return void
     */
   
protected function commands()
    {
        require
base_path('routes/console.php');
    }
}