Manager/BaseManager.php
public function getBatchObjects($class, ProxyQueryInterface $queryProxy)
    {
        $queryProxy->select('DISTINCT '.$queryProxy->getRootAlias());

        return $queryProxy->getQuery()->execute();
    }
public function getBatchObjects($class, ProxyQueryInterface $queryProxy)
    {
        $queryProxy->select('DISTINCT '.$queryProxy->getRootAlias());

        return $queryProxy->getQuery()->execute();
    }
public function getBatchObjects ( $ class , ProxyQueryInterface $ queryProxy ) { $ queryProxy -> select ( 'DISTINCT ' . $ queryProxy -> getRootAlias ( ) ) ; return $ queryProxy -> getQuery ( ) -> execute ( ) ; }
Retrieve objects from a batch request.

@param string              $class      Class name
@param ProxyQueryInterface $queryProxy ProxyQueryInterface instance

@throws \Exception
Retrieve objects from a batch request .