| 1 | <?php |
||
| 5 | class ResolutionConstraint |
||
| 6 | { |
||
| 7 | const STRICT_MATCHING = 1; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @var int |
||
| 11 | */ |
||
| 12 | private $type; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | private $parameters; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param int $type |
||
| 21 | * @param array $parameters |
||
| 22 | */ |
||
| 23 | public function __construct($type, array $parameters = []) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return array |
||
| 31 | */ |
||
| 32 | public function getParameters() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return int |
||
| 39 | */ |
||
| 40 | public function getType() |
||
| 44 | } |
||
| 45 |