Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | trait ValidationContextAwareTrait |
||
6 | { |
||
7 | /** |
||
8 | * @var ValidationContextInterface |
||
9 | */ |
||
10 | protected $validationContext; |
||
11 | |||
12 | /** |
||
13 | * @return ValidationContextInterface |
||
14 | */ |
||
15 | public function getValidationContext(): ValidationContextInterface |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * @param ValidationContextInterface $validationContext |
||
22 | * @return $this |
||
23 | */ |
||
24 | public function setValidationContext(ValidationContextInterface $validationContext) |
||
30 |