Data::write()
Writes data to a file; the data handler is automatically chosen by the extension if not specified
Data::write(string $file = null, mixed $data = [ ], string $type = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $file | string |
null |
| $data | mixed |
[ ] |
| $type | string |
null |
Return type
bool