AIKEEDO / src /Voice /Domain /ValueObjects /Status.php
Softin Trading
Initial Commit from GitHub.
cf14c12
Raw History Blame Contribute Delete
300 Bytes
<?php
declare(strict_types=1);
namespace Voice\Domain\ValueObjects;
use JsonSerializable;
use Override;
enum Status: int implements JsonSerializable
{
case INACTIVE = 0;
case ACTIVE = 1;
#[Override]
public function jsonSerialize(): int
{
return $this->value;
}
}