Class Installer

The Installer class represents the WordPress installer and provides methods for installing WordPress and its dependencies.

Constructors

  • Initializes a new instance of the constructor.

    Parameters

    • config: WPMMconfig

      The configuration object for the constructor.

    • paths: WPMMpaths

      The object containing the paths for the constructor.

    Returns Installer

Properties

baseFolder: string

The base folder.

config: WPMMconfig

The configuration object.

paths: WPMMpaths

The object containing the paths.

tempDir: string

The temporary directory.

Methods

  • Installs packages based on the configuration provided.

    Returns Promise<void>

    A promise that resolves when all the packages are installed.

  • Runs the function asynchronously.

    Returns Promise<void>

    • A promise that resolves when the function completes.

Generated using TypeDoc