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 | Description |
---|---|---|---|
$file |
string |
null |
|
$data |
mixed |
[ ] |
|
$type |
string |
null |
Return type
bool