[Flow] Enum in Doctrine

Tomas M flow at 46dev.de
Fri Jun 5 14:16:55 CEST 2015


Hello Maximilian,

you can use something like:

	/**
	 * @var string
	 * @Flow\Validate(type="NotEmpty")
	 * @ORM\Column(type="string", columnDefinition="ENUM('foo', 'bar', 'baz')")
	 */

Cheers, Tomas


More information about the Flow mailing list