SettingsWriter
in package
Write Settings into a File
Tags
Table of Contents
Methods
- __construct() : mixed
- Constructs a new SettingsWriter Object The standard directory/naming is used from the settings Object If the settings file already esxists it is overwritten and all data in there is lost!!
- write() : mixed
- Writes the settings Object into a settings file If the file already exists it is overwritten!
Methods
__construct()
Constructs a new SettingsWriter Object The standard directory/naming is used from the settings Object If the settings file already esxists it is overwritten and all data in there is lost!!
public
__construct(Settings $settings[, string $name = '' ]) : mixed
Parameters
- $settings : Settings
-
an object of type settings
- $name : string = ''
-
The name midfix for the settings File
write()
Writes the settings Object into a settings file If the file already exists it is overwritten!
public
write([Settings|array<string|int, mixed> $settings = null ]) : mixed
Parameters
- $settings : Settings|array<string|int, mixed> = null
-
an object of type settings