src/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseFunction.php 1 location
|
@@ 73-81 (lines=9) @@
|
| 70 |
|
} |
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
public function getSql(SqlWalker $sqlWalker): string |
| 74 |
|
{ |
| 75 |
|
$dispatched = []; |
| 76 |
|
foreach ($this->nodes as $node) { |
| 77 |
|
$dispatched[] = $node->dispatch($sqlWalker); |
| 78 |
|
} |
| 79 |
|
|
| 80 |
|
return \vsprintf($this->functionPrototype, $dispatched); |
| 81 |
|
} |
| 82 |
|
} |
| 83 |
|
|
src/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseVariadicFunction.php 1 location
|
@@ 41-49 (lines=9) @@
|
| 38 |
|
} |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
public function getSql(SqlWalker $sqlWalker): string |
| 42 |
|
{ |
| 43 |
|
$dispatched = []; |
| 44 |
|
foreach ($this->nodes as $node) { |
| 45 |
|
$dispatched[] = $node->dispatch($sqlWalker); |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
return \sprintf($this->functionPrototype, \implode(', ', $dispatched)); |
| 49 |
|
} |
| 50 |
|
} |
| 51 |
|
|