Skip to content


Subversion checkout URL

You can clone with
Download ZIP


wrap settings in a class #1

micheleorselli opened this Issue · 1 comment

3 participants


The configuration defined in $target inside an idxfile.php is now available inside idephix as an array. It could be useful to wrap the configuration settings in a class which:

  • hides the actual implementation, simplifying future changes
  • makes easy to get values, allowing for default values eg:
$config->get('ssh_params.user', 'kea')


if (isset($config['ssh_params'] && isset($config['ssh_params']['user'])

It could be also useful to have the same config for different hosts.
For example multiple machines with the same remote_base_folder, the only thing that can change is the host(target machine).

Pseudo code:

@kea kea closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.