public function getCwd($asArray = false)
    {
        return $this->cwd && $asArray ? $this->cwd->toArray() : $this->cwd;
    }
public function getCwd($asArray = false)
    {
        return $this->cwd && $asArray ? $this->cwd->toArray() : $this->cwd;
    }
public function getCwd ( $ asArray = false ) { return $ this -> cwd && $ asArray ? $ this -> cwd -> toArray ( ) : $ this -> cwd ; }
get Current Working Directory.

@param bool $asArray

@return array|FileInfo
get Current Working Directory .