Go to Google Groups Home    doctrine-user
Re: Changing state when adding relation

Jeremi <jere...@gmail.com>

Well maybe that doesn't matter in the issues that I'm having.

I have:

$a->b->c->d->Items[] = $e;

$a->save();

is not saving the new items and assigned them to $d;

On Jul 8, 3:30 pm, Jeremi <jere...@gmail.com> wrote:

> If I have a model loaded from database, $a, and I add another model to
> a hasMany relation, $a->Relation[] = $b, should $a->state() be dirty?