Components_Component_Base::getBaseInstallationOptions PHP Method

getBaseInstallationOptions() protected method

Derive the basic PEAR install options from the current option set.
protected getBaseInstallationOptions ( array $options ) : array
$options array The current options.
return array The installatin options.
    protected function getBaseInstallationOptions($options)
    {
        $installation_options = array();
        $installation_options['force'] = !empty($options['force']);
        $installation_options['nodeps'] = !empty($options['nodeps']);
        return $installation_options;
    }