code: protected function fixOneToMany(PageInterface $object)
      {
          $items = $object->getContentItems();
          if ($items) {
              foreach ($object->getContentItems() as $item) {
                  $item->setPage($object);
              }
          }
          if ($this->menuManager) {
              $this->menuManager->flush();
          }
      }
docs: Fixes the many-to-one side of the one-to-many content items and flushes the menu manager.
  
  @param \Zicht\Bundle\PageBundle\Model\PageInterface $object
  @return void