Enum transformer¶
Fetches allowed values directly from the Propel Schema to enum.
Example usage:
<enum
tableMapClass="\Orm\Zed\Customer\Persistence\Map\SpyCustomerTableMap"
tableMapColumn="gender"
from="gender"
to="gender"
nullable="true"
/>
Attributes:
tableMapClass
- defines Propel Schema ClasstableMapColumn
- defines the Column to be mappedfrom
- defines which Field will be used as resourceto
- defines on which Field the resource has to matchnullable
(optional) - defines if NullEntries should be returned for empty values or not (default: false)