Total Complexity | 6 |
Total Lines | 65 |
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 | * @var array |
||
36 | */ |
||
37 | protected $roles = []; |
||
38 | |||
39 | /** |
||
40 | * @return null|string |
||
41 | */ |
||
42 | 22 | public function getResolver(): ?string |
|
43 | { |
||
44 | 22 | return $this->resolver; |
|
45 | } |
||
46 | |||
47 | /** |
||
48 | * @param null|string $resolver |
||
49 | * |
||
50 | * @return $this |
||
51 | */ |
||
52 | 22 | public function setResolver(?string $resolver) |
|
53 | { |
||
54 | 22 | $this->resolver = $resolver; |
|
55 | |||
56 | 22 | return $this; |
|
57 | } |
||
58 | |||
59 | 22 | public function getComplexity(): ?string |
|
62 | } |
||
63 | |||
64 | 22 | public function setComplexity(?string $complexity): self |
|
65 | { |
||
66 | 22 | $this->complexity = $complexity; |
|
67 | |||
68 | 22 | return $this; |
|
69 | } |
||
70 | |||
71 | 22 | public function getRoles(): array |
|
74 | } |
||
75 | |||
76 | 22 | public function setRoles(array $roles): self |
|
81 | } |
||
82 | } |
||
83 |