| 1 | <?php |
||
| 15 | class CannotEmbedFontPolicy |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Ignore non embeddable fonts and continue |
||
| 19 | */ |
||
| 20 | const OK = 'OK'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Display a warning for non embeddable fonts |
||
| 24 | */ |
||
| 25 | const WARNING = 'Warning'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Quit current job for non embeddable fonts |
||
| 29 | */ |
||
| 30 | const ERROR = 'Error'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Available cannot embed font policy values |
||
| 34 | * |
||
| 35 | * @var string[] |
||
| 36 | */ |
||
| 37 | private static $values = [ |
||
| 38 | self::OK, |
||
| 39 | self::WARNING, |
||
| 40 | self::ERROR |
||
| 41 | ]; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get available cannot embed font policy values |
||
| 45 | * |
||
| 46 | * @return string[] |
||
| 47 | */ |
||
| 48 | public static function values() |
||
| 52 | } |
||
| 53 |