Update associated entities in Doctrine

My entities are Series, which has many Seasons, which have many Episodes. When an episode is created or updated I want to also update its related Series so that it always has correct firstYear and lastYear data for when the series was broadcasted.


http://vvv.tobiassjosten.net/symfony/update-associated-entities-in-doctrine/

Leave a Reply