/** * 2016-07-10 * @used-by \Df\Payment\ConfigProvider::getConfig() * @see \Dfe\Stripe\Method => «dfe_stripe» * @see \Dfe\CheckoutCom\Method => «dfe_checkout_com» * @return string */ public static function codeS() { return dfcf(function ($class) { return df_const($class, 'CODE', function () use($class) { return df_module_name_lc($class); }); }, [static::class]); }
/** * 2015-12-30 * @used-by \Dfe\CurrencyFormat\O * @param mixed|callable $d [optional] * @param string|null $key [optional] * @return mixed */ protected function v($d = null, $key = null) { $key = $key ?: df_caller_f(); return $this->cfg(df_const($this, $key, $key), $d); }