public function generatePivotTable()
    {
        $tables = [
            $this->getManager()->getTable(),
            $this->getWith()->getTable()
        ];
        sort($tables);

        return implode("_", $tables);
    }
public function generatePivotTable()
    {
        $tables = [
            $this->getManager()->getTable(),
            $this->getWith()->getTable()
        ];
        sort($tables);

        return implode("_", $tables);
    }
public function generatePivotTable ( ) { $ tables = [ $ this -> getManager ( ) -> getTable ( ) , $ this -> getWith ( ) -> getTable ( ) ] ; sort ( $ tables ) ; return implode ( "_" , $ tables ) ; }
Builds the name of a has-and-belongs-to-many association table
@return string
Builds the name of a has - and - belongs - to - many association table