AbstractVariables::get( string $name )
Get an environment variable.
Parameters
- $name
-
(Required)
Return
(string|null)
Source
File: vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php
public function get($name)
{
if (!is_string($name)) {
throw new InvalidArgumentException('Expected name to be a string.');
}
return $this->getInternal($name);
}