src/Configuration/LaravelNamingStrategy.php
public function joinTableName($sourceEntity, $targetEntity, $propertyName = null)
    {
        $names = [
            $this->classToFieldName($sourceEntity),
            $this->classToFieldName($targetEntity)
        ];

        sort($names);

        return implode('_', $names);
    }
public function joinTableName($sourceEntity, $targetEntity, $propertyName = null)
    {
        $names = [
            $this->classToFieldName($sourceEntity),
            $this->classToFieldName($targetEntity)
        ];

        sort($names);

        return implode('_', $names);
    }
public function joinTableName ( $ sourceEntity , $ targetEntity , $ propertyName = null ) { $ names = [ $ this -> classToFieldName ( $ sourceEntity ) , $ this -> classToFieldName ( $ targetEntity ) ] ; sort ( $ names ) ; return implode ( '_' , $ names ) ; }
Returns a join table name.

@param string      $sourceEntity The source entity.
@param string      $targetEntity The target entity.
@param string|null $propertyName A property name.

@return string A join table name.
Returns a join table name .