Total Complexity | 4 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | trait ExecutableDefinitionTrait |
||
17 | { |
||
18 | use DefinitionTrait; |
||
19 | use ArgumentAwareTrait; |
||
20 | use DeprecateTrait; |
||
21 | use TypeAwareDefinitionTrait; |
||
22 | use NodeAwareDefinitionTrait; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $resolver; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $complexity; |
||
33 | |||
34 | /** |
||
35 | * @return null|string |
||
36 | */ |
||
37 | 15 | public function getResolver(): ?string |
|
40 | } |
||
41 | |||
42 | /** |
||
43 | * @param null|string $resolver |
||
44 | * |
||
45 | * @return $this |
||
46 | */ |
||
47 | 15 | public function setResolver(?string $resolver) |
|
48 | { |
||
49 | 15 | $this->resolver = $resolver; |
|
50 | |||
51 | 15 | return $this; |
|
52 | } |
||
53 | |||
54 | 1 | public function getComplexity(): ?string |
|
55 | { |
||
56 | 1 | return $this->complexity; |
|
57 | } |
||
58 | |||
59 | 13 | public function setComplexity(?string $complexity): self |
|
64 | } |
||
65 | } |
||
66 |