Doctrine\ORM\Query\ResultSetMapping::addJoinedEntityResult
Adds a joined entity result.
Signature
public function addJoinedEntityResult(string
$class,
string
$alias,
string
$parentAlias,
$relation )
Parameters
$class
—
string
- The class name of the joined entity.
$alias
—
string
- The unique alias to use for the joined entity.
$parentAlias
—
string
- The alias of the entity result that is the parent of this joined result.
$relation
—
object
- The association field that connects the parent entity result with the joined entity result.
Returns
- ResultSetMapping
- This ResultSetMapping instance.
Line |
Task |
291+ |
Rename: addJoinedEntity |