config[$val->nom] = $val->valeur; } function get($nom) { return $this->config[$nom]; } private $config; } $config = new Config(); ?>