| Total Complexity | 1 |
| Total Lines | 9 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | #[\Attribute(\Attribute::TARGET_CLASS)] |
||
| 24 | class ComponentPosition extends Constraint |
||
| 25 | { |
||
| 26 | public string $message = 'The IRI `{{ iri }}` is not permitted to be added to the collection `{{ reference }}`. Allowed IRIs: {{ allowed }}'; |
||
| 27 | public string $restrictedMessage = 'The IRI `{{ iri }}` must be specifically allowed within the collection {{ reference }}'; |
||
| 28 | |||
| 29 | public function getTargets(): string|array |
||
| 34 |