PHP Class App\Services\Config\DotenvWriter

Inheritance: implements App\Services\Config\ConfigWriterInterface
Afficher le fichier Open project: ngmy/webloyer Class Usage Examples

Protected Properties

Свойство Type Description
$fs
$path

Méthodes publiques

Méthode Description
__construct ( App\Services\Filesystem\FilesystemInterface $fs, $path )
setConfig ( string $name, string $value ) : mixed Set configuration to a .env file.

Method Details

__construct() public méthode

public __construct ( App\Services\Filesystem\FilesystemInterface $fs, $path )
$fs App\Services\Filesystem\FilesystemInterface

setConfig() public méthode

Set configuration to a .env file.
public setConfig ( string $name, string $value ) : mixed
$name string Configuration name
$value string Configuration value
Résultat mixed

Property Details

$fs protected_oe property

protected $fs

$path protected_oe property

protected $path