src/Sulu/Component/Rest/Listing/ListRestHelper.php
public function find($entityName, $where = [], $joinConditions = [])
    {
        return $this->getRepository($entityName)->find($where, 'u', false, $joinConditions);
    }
public function find($entityName, $where = [], $joinConditions = [])
    {
        return $this->getRepository($entityName)->find($where, 'u', false, $joinConditions);
    }
public function find ( $ entityName , $ where = [ ] , $ joinConditions = [ ] ) { return $ this -> getRepository ( $ entityName ) -> find ( $ where , 'u' , false , $ joinConditions ) ; }
Create a ListRepository for given EntityName and find Entities for list.

@param string $entityName
@param array $where
@param array $joinConditions

@return array
Create a ListRepository for given EntityName and find Entities for list .