これを行う方法:
$formMapper->add('propertyA.propertyB');
いつ
$this->propertyA->propertyB;
/**
* @ORM\ManyToOne(targetEntity="propertyB")
*/
protected $propertyA;
$propyA はエンティティ A に依存します
$propertyB はエンティティ B に依存します
これを行う方法:
$formMapper->add('propertyA.propertyB');
いつ
$this->propertyA->propertyB;
/**
* @ORM\ManyToOne(targetEntity="propertyB")
*/
protected $propertyA;
$propyA はエンティティ A に依存します
$propertyB はエンティティ B に依存します