Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class UserId extends AbstractRule |
||
11 | { |
||
12 | private Identification\UserId $userId; |
||
13 | |||
14 | /** |
||
15 | * @param string|int $userId |
||
16 | */ |
||
17 | public function __construct($userId) |
||
18 | { |
||
19 | $this->userId = new Identification\UserId($userId); |
||
20 | } |
||
21 | |||
22 | public function getValue() |
||
25 | } |
||
26 | |||
27 | protected function childCanBeSatisfied(RequestorInterface $requestor = null): bool |
||
30 | } |
||
31 | } |
||
32 |