for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Application\DBAL\Types;
use Application\Model\User;
class UserStatusType extends AbstractEnumType
{
protected function getPossibleValues(): array
return [
User::STATUS_INACTIVE,
User::STATUS_ACTIVE,
User::STATUS_NEW,
User::STATUS_ARCHIVED,
];
}