lib/MwbExporter/Model/Table.php
protected function injectManyToMany(ForeignKey $fk1, ForeignKey $fk2)
    {
        $fk1->getReferencedTable()->setManyToManyRelation(array('reference' => $fk1, 'refTable' => $fk2->getReferencedTable()));

        return $this;
    }
protected function injectManyToMany(ForeignKey $fk1, ForeignKey $fk2)
    {
        $fk1->getReferencedTable()->setManyToManyRelation(array('reference' => $fk1, 'refTable' => $fk2->getReferencedTable()));

        return $this;
    }
protected function injectManyToMany ( ForeignKey $ fk1 , ForeignKey $ fk2 ) { $ fk1 -> getReferencedTable ( ) -> setManyToManyRelation ( array ( 'reference' => $ fk1 , 'refTable' => $ fk2 -> getReferencedTable ( ) ) ) ; return $ this ; }
Inject a many to many relation into referenced table.

@param \MwbExporter\Model\ForeignKey $fk1
@param \MwbExporter\Model\ForeignKey $fk2
@return \MwbExporter\Model\Table
Inject a many to many relation into referenced table .