I'm making many-to many relatioships with categories and articles. But article must have "main" category, so in oters categories "rel="canonical"" to be placed. And logically to place it in join table. In Laravel there is wery simple mechanism to do so: http://laravel.com/docs/5.0/eloquent#working-with-pivot-tables
But I read about association mapping in Doctrine: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/association-mapping.html - and there is no info about how to access or modify that table. Is there any way to do this in Doctrine?