Passed
Push — master ( 2159a4...9e36bb )
by ANTHONIUS
06:11
created

Application   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A bootstrapContainer() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the EOffice project.
5
 *
6
 * (c) Anthonius Munthi <https://itstoni.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace EOffice\Packages\Core;
15
16
use Laravel\Lumen\Application as BaseApplication;
17
18
/**
19
 * @psalm-suppress PropertyNotSetInConstructor
20
 */
21
class Application extends BaseApplication
22
{
23
    protected function bootstrapContainer()
24
    {
25
        parent::bootstrapContainer(); // TODO: Change the autogenerated stub
26
        $this->instance('path.public', $this->basePath('public'));
27
    }
28
}
29