21 lines
401 B
PHP
21 lines
401 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace MauticPlugin\PlanBundle\Entity;
|
|
|
|
enum PlanStatus: string
|
|
{
|
|
case Draft = 'draft';
|
|
case Planned = 'planned';
|
|
case Active = 'active';
|
|
case Paused = 'paused';
|
|
case Completed = 'completed';
|
|
case Archived = 'archived';
|
|
|
|
public function getLabelKey(): string
|
|
{
|
|
return 'mautic.plan.status.'.$this->value;
|
|
}
|
|
}
|