Passed
Push — master ( 7d76d6...1230fe )
by Caen
03:19 queued 13s
created

ConsoleKernel::bootstrappers()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 6
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 6
b 0
f 0
nc 1
nop 0
dl 0
loc 7
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Hyde\Foundation;
6
7
use LaravelZero\Framework\Kernel;
8
use Hyde\Foundation\Services\LoadYamlConfiguration;
9
10
class ConsoleKernel extends Kernel
11
{
12
    /**
13
     * Get the bootstrap classes for the application.
14
     */
15
    protected function bootstrappers(): array
16
    {
17
        $bootstrappers = $this->bootstrappers;
18
19
        array_splice($bootstrappers, 5, 0, LoadYamlConfiguration::class);
20
21
        return $bootstrappers;
22
    }
23
}
24