| 1 | <?php |
||
| 4 | class Package implements ConfigurationItemInterface |
||
| 5 | { |
||
| 6 | /** @var string */ |
||
| 7 | private $name; |
||
| 8 | /** @var string */ |
||
| 9 | private $versionConstraint; |
||
| 10 | /** |
||
| 11 | * @param string $name |
||
| 12 | * @param string $versionConstraint |
||
| 13 | */ |
||
| 14 | 5 | public function __construct($name, $versionConstraint) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | 5 | public function getName() |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | 5 | public function getVersionConstraint() |
|
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function getItemId() |
||
| 43 | } |
||
| 44 |