src/TrivialSense/FrameworkCommon/Repository/TranslatableRepository.php
public function getSingleResult(QueryBuilder $qb, $locale = null, $hydrationMode = null)
    {
        return $this->getTranslatedQuery($qb, $locale)->getSingleResult($hydrationMode);
    }
public function getSingleResult(QueryBuilder $qb, $locale = null, $hydrationMode = null)
    {
        return $this->getTranslatedQuery($qb, $locale)->getSingleResult($hydrationMode);
    }
public function getSingleResult ( QueryBuilder $ qb , $ locale = null , $ hydrationMode = null ) { return $ this -> getTranslatedQuery ( $ qb , $ locale ) -> getSingleResult ( $ hydrationMode ) ; }
Returns translated single result for given locale

@param QueryBuilder $qb            A Doctrine query builder instance
@param string       $locale        A locale name
@param string       $hydrationMode A Doctrine results hydration mode

@return QueryBuilder
Returns translated single result for given locale