| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class CanFulfillSlot |
||
| 8 | { |
||
| 9 | public const CAN_UNDERSTAND_YES = 'YES'; |
||
| 10 | public const CAN_UNDERSTAND_MAYBE = 'MAYBE'; |
||
| 11 | public const CAN_UNDERSTAND_NO = 'NO'; |
||
| 12 | public const CAN_FULFILL_YES = 'YES'; |
||
| 13 | public const CAN_FULFILL_NO = 'NO'; |
||
| 14 | |||
| 15 | 1 | public function __construct( |
|
| 16 | public ?string $canUnderstand = null, |
||
| 17 | public ?string $canFulfill = null |
||
| 18 | ) { |
||
| 19 | 1 | } |
|
| 20 | |||
| 21 | 1 | public static function create(string $canUnderstand, string $canFulfill): self |
|
| 24 | } |
||
| 25 | } |
||
| 26 |