コード例 #1
0
ファイル: Method.php プロジェクト: mage2pro/core
 /**
  * 2016-07-10
  * @used-by \Df\Payment\Method::addTransaction()
  * @used-by \Df\Payment\R\Response::idL2G()
  * @param string[] $suffixes
  * @return string
  */
 public static function transactionIdL2G(...$suffixes)
 {
     return df_cc('-', self::codeS(), $suffixes);
 }
コード例 #2
0
ファイル: reflection.php プロジェクト: mage2pro/core
/**
 * 2016-10-26
 * @param object|string $c
 * @param string|string[] $suffix
 * @param string|null $def [optional]
 * @param bool $throw [optional]
 * @return string|null
 */
function df_con_child($c, $suffix, $def = null, $throw = true)
{
    return df_con_generic(function ($c, $suffix) {
        return df_cc(df_cld($c), $c, $suffix);
    }, $c, $suffix, $def, $throw);
}