trypost/app/Enums/PostPlatform/Status.php

15 lines
252 B
PHP
Raw Permalink Normal View History

<?php
declare(strict_types=1);
namespace App\Enums\PostPlatform;
enum Status: string
{
case Pending = 'pending';
case Publishing = 'publishing';
case Retrying = 'retrying';
case Published = 'published';
case Failed = 'failed';
}