28 lines
512 B
PHP
28 lines
512 B
PHP
<?php
|
|
|
|
namespace Modules\IndustrialEngineering\Domain\Enums;
|
|
|
|
final class RevisionStatus
|
|
{
|
|
public const DRAFT = 'draft';
|
|
|
|
public const IN_REVIEW = 'in_review';
|
|
|
|
public const APPROVED = 'approved';
|
|
|
|
public const RELEASED = 'released';
|
|
|
|
public const OBSOLETE = 'obsolete';
|
|
|
|
public static function all(): array
|
|
{
|
|
return [
|
|
self::DRAFT,
|
|
self::IN_REVIEW,
|
|
self::APPROVED,
|
|
self::RELEASED,
|
|
self::OBSOLETE,
|
|
];
|
|
}
|
|
}
|