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