Doctrine\ORM\AbstractQuery::getSingleScalarResult
Gets the single scalar result of the query.
Alias for getSingleResult(HYDRATE_SINGLE_SCALAR).
Signature
public function getSingleScalarResult()
Returns
- mixed
Errors/Exceptions
-
QueryException
- If the query result is not unique.