Doctrine\ORM\Query\ResultSetMappingBuilder::addNamedNativeQueryResultClassMapping
Adds the class mapping of the results of native SQL queries to the result set.
Signature
public function addNamedNativeQueryResultClassMapping(ClassMetadataInfo
$class,
string
$resultClassName )
Parameters
$class
— Doctrine\ORM\Mapping\ClassMetadataInfo
$resultClassName
— string
Returns
- ResultSetMappingBuilder