Airship\Engine\Continuum\Installer::useLocalInstallFile PHP Method

useLocalInstallFile() public method

For CLI usage: Bypass the download process, use a local file instead.
public useLocalInstallFile ( string $path, string $version = '' ) : self
$path string
$version string
return self
    public function useLocalInstallFile(string $path, string $version = '') : self
    {
        if (\file_exists($path)) {
            throw new FileNotFound();
        }
        $hash = File::checksum($path);
        $this->localInstallFile = new InstallFile($this->supplier, ['path' => $path, 'version' => $version, 'hash' => $hash, 'size' => \filesize($path)]);
        return $this;
    }