Passed
Push — master ( 0dc1ce...f4154d )
by Brian
12:26
created

BaseProvider::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Bmatovu\Ussd\Providers;
4
5
use Bmatovu\Ussd\Store;
6
use Bmatovu\Ussd\Contracts\ListProvider;
7
use Bmatovu\Ussd\Traits\Attributes;
8
use Bmatovu\Ussd\Traits\Variables;
9
10
abstract class BaseProvider implements ListProvider
11
{
12
    use Attributes, 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...
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
14
    protected Store $store;
15
16
    public function __construct(Store $store)
17
    {
18
        $this->store = $store;
19
    }
20
21
    // abstract public function load(): array;
22
}
23