Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Faker\Provider\zh_CN;
4
 
5
class Payment extends \Faker\Provider\Payment
6
{
7
    /**
8
     * @see https://zh.wikipedia.org/wiki/%E4%B8%AD%E5%9B%BD%E9%93%B6%E8%A1%8C%E5%88%97%E8%A1%A8
9
     *
10
     * @var array
11
     */
12
    protected static $banks = [
13
        '渤海银行',
14
        '广发银行',
15
        '国家开发银行',
16
        '恒丰银行',
17
        '华夏银行',
18
        '交通银行',
19
        '平安银行',
20
        '上海浦东发展银行',
21
        '兴业银行',
22
        '招商银行',
23
        '浙商银行',
24
        '中国工商银行',
25
        '中国光大银行',
26
        '中国建设银行',
27
        '中国民生银行',
28
        '中国农业银行',
29
        '中国银行',
30
        '中国邮政储蓄银行',
31
        '中信银行',
32
    ];
33
 
34
    /**
35
     * @example '中国建设银行'
36
     *
37
     * @return string
38
     */
39
    public static function bank()
40
    {
41
        return static::randomElement(static::$banks);
42
    }
43
}