Icicle\Concurrent\Process\Process::getWorkingDirectory PHP Méthode

getWorkingDirectory() public méthode

Gets the current working directory.
public getWorkingDirectory ( ) : string
Résultat string The current working directory or null if inherited from the current PHP process.
    public function getWorkingDirectory() : string
    {
        if ('' === $this->cwd) {
            return getcwd() ?: '';
        }
        return $this->cwd;
    }