Povilas Brilius
Feb 28, 2021

--

Doctrine ORM payments are becoming delusional —

  • Collections
  • Associations

So, the transaction payer is association, whereas collection is the payee.

How come? See the code (besides official ORM documentation):

/*** Notes collection** @var ArrayCollection** @ORM\OneToMany(targetEntity="Note", mappedBy="user")*/private $_notes;

--

--

Povilas Brilius

PHP Developer in e-commerce and e-loans industry fields.