| 1 | <?php declare(strict_types=1); |
||
| 24 | abstract class TargetMatchEnum |
||
| 25 | { |
||
| 26 | /** @see http://docs.oasis-open.org/xacml/3.0/xacml-3.0-core-spec-os-en.html #7.11 (table 4) */ |
||
| 27 | |||
| 28 | /** Combine result */ |
||
| 29 | const MATCH = 0; |
||
| 30 | |||
| 31 | /** Combine result */ |
||
| 32 | const NOT_MATCH = self::MATCH + 1; |
||
| 33 | |||
| 34 | /** Combine result */ |
||
| 35 | const NO_TARGET = self::NOT_MATCH + 1; |
||
| 36 | |||
| 37 | /** Combine result */ |
||
| 38 | const INDETERMINATE = self::NO_TARGET + 1; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param int $value |
||
| 42 | * |
||
| 43 | 15 | * @return string |
|
| 44 | */ |
||
| 45 | public static function toString(int $value): string |
||
| 67 | } |
||
| 68 |