|
@@ 160-166 (lines=7) @@
|
| 157 |
|
public function joinTableName($sourceEntity, $targetEntity, $propertyName = null) |
| 158 |
|
{ |
| 159 |
|
switch ($this->concatenation) { |
| 160 |
|
case self::UCFIRST: |
| 161 |
|
return |
| 162 |
|
$this->classToTableName($sourceEntity) . ucfirst($this->classToTableName($targetEntity)) |
| 163 |
|
. |
| 164 |
|
(($this->joinTableFieldSuffix && $propertyName) ? ucfirst($this->propertyToColumnName($propertyName, $sourceEntity)) : '') |
| 165 |
|
; |
| 166 |
|
break; |
| 167 |
|
case self::NOTHING: |
| 168 |
|
return |
| 169 |
|
$this->classToTableName($sourceEntity) . $this->classToTableName($targetEntity) |
|
@@ 167-173 (lines=7) @@
|
| 164 |
|
(($this->joinTableFieldSuffix && $propertyName) ? ucfirst($this->propertyToColumnName($propertyName, $sourceEntity)) : '') |
| 165 |
|
; |
| 166 |
|
break; |
| 167 |
|
case self::NOTHING: |
| 168 |
|
return |
| 169 |
|
$this->classToTableName($sourceEntity) . $this->classToTableName($targetEntity) |
| 170 |
|
. |
| 171 |
|
(($this->joinTableFieldSuffix && $propertyName) ? $this->propertyToColumnName($propertyName, $sourceEntity) : '') |
| 172 |
|
; |
| 173 |
|
break; |
| 174 |
|
case self::UNDERSCORE: // FALL TROUGH |
| 175 |
|
default: |
| 176 |
|
return |