| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | final class ApiVersionConstraint |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | private $name; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | private $constraint; |
||
| 36 | |||
| 37 | public function __construct(string $name, string $constraint) |
||
| 38 | { |
||
| 39 | $this->name = $name; |
||
| 40 | $this->constraint = $constraint; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getName(): string |
||
| 46 | } |
||
| 47 | |||
| 48 | public function getConstraint(): string |
||
| 53 |