| 1 | <?php |
||
| 15 | class AutoRotatePages |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Do not auto rotate pages |
||
| 19 | */ |
||
| 20 | const NONE = 'None'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Auto rotate all pages |
||
| 24 | */ |
||
| 25 | const ALL = 'All'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Auto rotate page by page |
||
| 29 | */ |
||
| 30 | const PAGE_BY_PAGE = 'PageByPage'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Available auto rotate pages values |
||
| 34 | * |
||
| 35 | * @var string[] $values |
||
| 36 | */ |
||
| 37 | private static $values = [ |
||
| 38 | self::NONE, |
||
| 39 | self::ALL, |
||
| 40 | self::PAGE_BY_PAGE |
||
| 41 | ]; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get available auto rotate pages values |
||
| 45 | * |
||
| 46 | * @return string[] |
||
| 47 | */ |
||
| 48 | public static function values() |
||
| 52 | } |
||
| 53 |