| 1 |
<?php |
| 2 |
|
| 3 |
namespace ImageOptimization\Classes\Image; |
| 4 |
|
| 5 |
use ImageOptimization\Classes\Basic_Enum; |
| 6 |
|
| 7 |
if ( ! defined( 'ABSPATH' ) ) { |
| 8 |
exit; // Exit if accessed directly. |
| 9 |
} |
| 10 |
|
| 11 |
final class Image_Status extends Basic_Enum { |
| 12 |
public const NOT_OPTIMIZED = 'not-optimized'; |
| 13 |
public const OPTIMIZED = 'optimized'; |
| 14 |
public const OPTIMIZATION_IN_PROGRESS = 'optimization-in-progress'; |
| 15 |
public const OPTIMIZATION_FAILED = 'optimization-failed'; |
| 16 |
public const RESTORING_IN_PROGRESS = 'restoring-in-progress'; |
| 17 |
public const RESTORING_FAILED = 'restoring-failed'; |
| 18 |
public const REOPTIMIZING_IN_PROGRESS = 'reoptimizing-in-progress'; |
| 19 |
public const REOPTIMIZING_FAILED = 'reoptimizing-failed'; |
| 20 |
} |
| 21 |
|