class KalimahApps / Daleel / ProcessRemote

ProcessRemote

Download and extract files from remote server.

Properties

private

$config

Default: null
private

$downloaded_file_path

Default: null
private

$config_key

Default: null
private

$console

Build link tree and create HTML files.

Default: null
private

$extraction_path string

Path to the extracted files

Default: null

Methods

public

__construct ( Symfony\...\SymfonyStyle $console ) : void

Constructor.

Parameters

  • $console Symfony\...\SymfonyStyle
    input/output interface
public

fetch ( string $config_key ) : void

Download and extract files.

Parameters

  • $config_key string
    Config key to fetch
private

updateConfig ( ) : void

Update config with extracted path.

private

extractFile ( ) : void

Extract downloaded file.