[WIP] PIM-2675: Publish the association when publish a related product

| Q                    | A
| -------------------- | ---
| Bug fix?             | No
| New feature?         | No
| BC breaks?           | No
| CI currently passes? | Yes
| Tests pass?          | Yes
| Scenarios pass?      | ?
| Checkstyle issues?   | Yes
| Changelog updated?   | No
| Fixed tickets        | -
| Doc PR               | -
Only used for phpdoc so can be removed ;)