Data::read()
Reads data from a file; the data handler is automatically chosen by the extension if not specified
Data::read(string $file, ?string $type = null): array
Parameters
Name | Type | Default |
---|---|---|
$file * | string |
– |
$type | string |null |
null |
Return type
array