| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class IpAddress extends AbstractRule |
||
| 11 | { |
||
| 12 | private Identification\IpAddress $ipAddress; |
||
| 13 | |||
| 14 | public function __construct(string $ipAddress) |
||
| 15 | { |
||
| 16 | $this->ipAddress = new Identification\IpAddress($ipAddress); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getValue() |
||
| 20 | { |
||
| 21 | return $this->ipAddress->getIdentifier(); |
||
| 22 | } |
||
| 23 | |||
| 24 | protected function childCanBeSatisfied(RequestorInterface $requestor = null): bool |
||
| 27 | } |
||
| 28 | } |
||
| 29 |