\Google\AdsApi\Common\UtilEnvironmentalVariables

Provides methods for obtaining environmental variables in a platform-independant manner.

Summary

Methods
Properties
Constants
getHome()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getHome()

getHome(): string

Attempts to find the home directory of the user running the PHP script.

Throws

\UnexpectedValueException

if a home directory could not be found

Returns

string —

the path to the home directory with any trailing directory separators removed