BaseProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 10
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Bmatovu\Ussd\Providers;
4
5
use Bmatovu\Ussd\Contracts\ListProvider;
6
use Bmatovu\Ussd\Store;
7
use Bmatovu\Ussd\Traits\Attributes;
8
use Bmatovu\Ussd\Traits\Variables;
9
10
abstract class BaseProvider implements ListProvider
11
{
12
    use Attributes;
0 ignored issues
show
introduced by
The trait Bmatovu\Ussd\Traits\Attributes requires some properties which are not provided by Bmatovu\Ussd\Providers\BaseProvider: $node, $attributes, $nodeValue
Loading history...
13
    use Variables;
0 ignored issues
show
introduced by
The trait Bmatovu\Ussd\Traits\Variables requires some properties which are not provided by Bmatovu\Ussd\Providers\BaseProvider: $node, $childNodes
Loading history...
14
15
    protected Store $store;
16
17
    public function __construct(Store $store)
18
    {
19
        $this->store = $store;
20
    }
21
22
    // abstract public function load(): array;
23
}
24