Aller au contenu principal

useHostFilesystem

Callable

  • useHostFilesystem(php: PHP): void

  • Enables host filesystem usage by mounting root directories (e.g. /, /home, /var) into the in-memory virtual filesystem used by this PHP instance, and setting the current working directory to one used by the current node.js process.


    Parameters

    • php: PHP

    Returns void