Manager/AbstractManager.php
public function getEntitiesBy(array $criteria = [], array $orders = [], $limit = null, $offset = null): array
    {
        $entities = $this->getRepository()->findBy($criteria, $orders, $limit, $offset);
        $this->prepareEntitesForGet($entities);

        return $entities;
    }
public function getEntitiesBy(array $criteria = [], array $orders = [], $limit = null, $offset = null): array
    {
        $entities = $this->getRepository()->findBy($criteria, $orders, $limit, $offset);
        $this->prepareEntitesForGet($entities);

        return $entities;
    }
public function getEntitiesBy ( array $ criteria = [ ] , array $ orders = [ ] , $ limit = null , $ offset = null ) : array { $ entities = $ this -> getRepository ( ) -> findBy ( $ criteria , $ orders , $ limit , $ offset ) ; $ this -> prepareEntitesForGet ( $ entities ) ; return $ entities ; }
Gets Entities by criteria ...

@param array $criteria
@param array $orders
@param int   $limit
@param int   $offset

@return array
Gets Entities by criteria ...