@@ -119,6 +119,9 @@ |
||
| 119 | 119 | return $allowed; |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | + /** |
|
| 123 | + * @param string $constraint |
|
| 124 | + */ |
|
| 122 | 125 | public function getConstraints($constraint, $resource) : array |
| 123 | 126 | { |
| 124 | 127 | if (isset($this->getResourceConstraints($resource)[$constraint])) { |