Newer
Older
activity-manager / src / Enum / StatusEnum.php
@Kilian Riou Kilian Riou on 18 Mar 2021 598 bytes Add status enum
<?php
namespace App\Enum;

/**
 * Enumeration for status
 */
class StatusEnum
{

    /** @var string When it's not started yet */
    public const OPEN = 'open';

    /** @var string When it's in progress */
    public const IN_PROGRESS = 'inProgress';

    /** @var string When it's waiting for something or someone to continue actions */
    public const WAITING = 'waiting';
    
    /** @var string Actions are planified and nothing is happening before */
    public const PLANIFIED = 'planified';

    /** @var No more actions required, success or fail */
    public const CLOSED = 'closed';
}