/** * Find items in a collection based on the provided query. * * @param null|array|\Closure $query The query to use to filter the collection. * @param array $fields An array of field names to include in the result. * * @return array An array of items found; otherwise an empty array. */ public function find($query, $fields = []) { return $this->peer->find($query, $fields); }