Icicle\Concurrent\Process\Process::getWorkingDirectory PHP 메소드

getWorkingDirectory() 공개 메소드

Gets the current working directory.
public getWorkingDirectory ( ) : string
리턴 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;
    }