Method | Description | |
---|---|---|
__construct ( |
||
reverseTransform ( mixed $keys ) : Doctrine\Common\Collections\Collection | object | Transforms choice keys into entities | |
transform ( Doctrine\Common\Collections\Collection | object $collection ) : mixed | Transforms entities into choice keys |
public __construct ( |
||
$choiceList |
public reverseTransform ( mixed $keys ) : Doctrine\Common\Collections\Collection | object | ||
$keys | mixed | An array of keys, a single key or NULL |
return | Doctrine\Common\Collections\Collection | object | A collection of entities, a single entity or NULL |