DotenvVariables::setInternal( string $name, string|null $value = null )
Set an environment variable.
Parameters
- $name
-
(Required)
- $value
-
(Optional)
Default value: null
Return
(void)
Source
File: vendor/vlucas/phpdotenv/src/Environment/DotenvVariables.php
protected function setInternal($name, $value = null)
{
foreach ($this->adapters as $adapter) {
$adapter->set($name, $value);
}
}