findBy()
findBy(array $criteria, array|null $orderBy = null, integer|null $limit = null, integer|null $offset = null) : array
Finds entities by a set of criteria.
Parameters
| array | $criteria | |
| array|null | $orderBy | |
| integer|null | $limit | |
| integer|null | $offset |
Returns
array —The objects.