Backend\Core\Installer\ModuleInstaller::__construct PHP Method

__construct() public method

public __construct ( SpoonDatabase $db, array $languages, array $interfaceLanguages, boolean $example = false, array $variables = [] )
$db SpoonDatabase The database-connection.
$languages array The selected frontend languages.
$interfaceLanguages array The selected backend languages.
$example boolean Should example data be installed.
$variables array The passed variables.
    public function __construct(\SpoonDatabase $db, array $languages, array $interfaceLanguages, $example = false, array $variables = array())
    {
        $this->db = $db;
        $this->languages = $languages;
        $this->interfaceLanguages = $interfaceLanguages;
        $this->example = (bool) $example;
        $this->variables = $variables;
    }