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 | Description |
---|---|---|---|
$file |
string |
– | |
$type |
string |
null |
Return type
array