Cake\ElasticSearch\Marshaller::many PHP Метод

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

### Options: * fieldList: A whitelist of fields to be assigned to the entity. If not present, the accessible fields list in the entity will be used. * accessibleFields: A list of fields to allow or deny in entity accessible fields.
public many ( array $data, array $options = [] ) : array
$data array A list of entity data you want converted into objects.
$options array Options
Результат array An array of hydrated entities
    public function many(array $data, array $options = [])
    {
        $output = [];
        foreach ($data as $record) {
            $output[] = $this->one($record, $options);
        }
        return $output;
    }