Bootstrap   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
eloc 3
c 2
b 0
f 1
dl 0
loc 9
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 7 1
1
<?php
2
3
namespace Jidaikobo\Kontiki\Frontend;
4
5
use Jidaikobo\Kontiki\Bootstrap as BaseBootstrap;
6
7
class Bootstrap
8
{
9
    public static function init(string $env = 'production')
10
    {
11
        // prepare timer, log and functions
12
        BaseBootstrap::init($env);
13
14
        // prepare frontend functions
15
        require __DIR__ . '/../functions/frontend.php';
16
    }
17
}
18