FlattenResponseInterface
in
Table of Contents
Methods
- flatten() : array<string, string|int|null>
- flattenAll() : iterable<string|int, array<string, string|int|null>>
- Convert all records to a flat array
Methods
flatten()
public
flatten(RecordInterface $record) : array<string, string|int|null>
Parameters
- $record : RecordInterface
Return values
array<string, string|int|null>flattenAll()
Convert all records to a flat array
public
flattenAll(iterable<string|int, RecordInterface> $records) : iterable<string|int, array<string, string|int|null>>
Parameters
- $records : iterable<string|int, RecordInterface>