Total Complexity | 1 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class CanFulfillSlot |
||
9 | { |
||
10 | const CAN_UNDERSTAND_YES = 'YES'; |
||
11 | const CAN_UNDERSTAND_MAYBE = 'MAYBE'; |
||
12 | const CAN_UNDERSTAND_NO = 'NO'; |
||
13 | const CAN_FULFILL_YES = 'YES'; |
||
14 | const CAN_FULFILL_NO = 'NO'; |
||
15 | |||
16 | /** |
||
17 | * @var string|null |
||
18 | */ |
||
19 | public $canUnderstand; |
||
20 | |||
21 | /** |
||
22 | * @var string|null |
||
23 | */ |
||
24 | public $canFulfill; |
||
25 | |||
26 | /** |
||
27 | * @param string $canUnderstand |
||
28 | * @param string $canFulfill |
||
29 | * |
||
30 | * @return CanFulfillSlot |
||
31 | */ |
||
32 | 1 | public static function create(string $canUnderstand, string $canFulfill): self |
|
42 |