title: Cakephp 4 - Save with Associations
body: <p>I am having problems with saving data with associated. The problem is that i'm do thing on AfterSave and the associations are triggering the AfterSave before the principal entity($toSave). This is normal?
  It's like first save the associations then the principal entity. Is a way of changing the order of saving? Makes sense?</p>
  <pre><code>$toSave = $this-&gt;{MODEL_NAME}-&gt;patchEntity($toSave, $postData, ['associated' =&gt; ['SomeAssociation']]);
  if ($this-&gt;{MODEL_NAME}-&gt;save($toSave)) {
  
  }
  </code></pre>
  <p>Version: Cakephp 4.x</p>
  <p>Thank you.</p>