DB\Mongo\Mapper::find PHP Метод

find() публичный Метод

Return records that match criteria
public find ( $filter = NULL, array $options = NULL, $ttl ) : static[]
$filter array
$options array array
$ttl int
Результат static[]
    function find($filter = NULL, array $options = NULL, $ttl = 0)
    {
        if (!$options) {
            $options = [];
        }
        $options += ['group' => NULL, 'order' => NULL, 'limit' => 0, 'offset' => 0];
        return $this->select($this->fields, $filter, $options, $ttl);
    }