What do you use instead of ENUM in doctrine2?
I usually work with integers mapped to class constants, like class MyEntity { const STATUS_INACTIVE = 0; const STATUS_ACTIVE = 1; const STATUS_REFUSE = 2; protected $status = self::STATUS_ACTIVE; } That works quite fine and makes it even easier to work with what you would call ENUMS in an IDE. You can also use an … Read more