1 | <?php declare(strict_types=1); |
||
5 | class Dependency implements DependencyInterface |
||
6 | { |
||
7 | /** |
||
8 | * @var int |
||
9 | */ |
||
10 | private $type; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $name; |
||
16 | |||
17 | /** |
||
18 | * @var mixed |
||
19 | */ |
||
20 | private $value; |
||
21 | |||
22 | 33 | public function __construct( |
|
31 | |||
32 | /** |
||
33 | * {@inheritDoc} |
||
34 | */ |
||
35 | 25 | public function getType(): int |
|
39 | |||
40 | /** |
||
41 | * {@inheritDoc} |
||
42 | */ |
||
43 | 26 | public function getName(): string |
|
47 | |||
48 | /** |
||
49 | * {@inheritDoc} |
||
50 | */ |
||
51 | 25 | public function getValue() |
|
55 | } |
||
56 |