Completed
Push — master ( 283542...d399c1 )
by Changwan
03:04
created

ApplicationDefinition   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 18
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A configs() 0 4 1
A providers() 0 4 1
1
<?php
2
namespace WanduSkeleton;
3
4
use Wandu\Foundation\Contracts\DefinitionInterface;
5
6
class ApplicationDefinition implements DefinitionInterface 
7
{
8
    /**
9
     * {@inheritdoc}
10
     */
11
    public function configs()
12
    {
13
        return require __DIR__ . '/../app/config.php';
14
    }
15
16
    /**
17
     * {@inheritdoc}
18
     */
19
    public function providers()
20
    {
21
        return require __DIR__ . '/../app/providers.php';
22
    }
23
}
24