Kernel   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 24
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A schedule() 0 5 1
1
<?php namespace WITR\Console;
2
3
use Illuminate\Console\Scheduling\Schedule;
4
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
5
6
class Kernel extends ConsoleKernel {
7
8
	/**
9
	 * The Artisan commands provided by your application.
10
	 *
11
	 * @var array
12
	 */
13
	protected $commands = [
14
		'WITR\Console\Commands\Inspire',
15
	];
16
17
	/**
18
	 * Define the application's command schedule.
19
	 *
20
	 * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
21
	 * @return void
22
	 */
23
	protected function schedule(Schedule $schedule)
24
	{
25
		$schedule->command('inspire')
26
				 ->hourly();
27
	}
28
29
}
30