/** * @return void */ protected static function set_conf_from_yaml() { $conf = (array) Config::inst()->get('SmtpMailer', 'conf'); // die(print_r($conf,1)); if (!empty($conf)) { self::$conf = self::array_merge_recursive_distinct(self::$conf, $conf); } }