Address.php
5 years ago
Company.php
5 years ago
Internet.php
5 years ago
Payment.php
5 years ago
Person.php
5 years ago
PhoneNumber.php
5 years ago
Text.php
5 years ago
Payment.php
20 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Faker\Provider\it_CH; |
| 4 | |
| 5 | class Payment extends \Faker\Provider\Payment |
| 6 | { |
| 7 | /** |
| 8 | * International Bank Account Number (IBAN) |
| 9 | * @link http://en.wikipedia.org/wiki/International_Bank_Account_Number |
| 10 | * @param string $prefix for generating bank account number of a specific bank |
| 11 | * @param string $countryCode ISO 3166-1 alpha-2 country code |
| 12 | * @param integer $length total length without country code and 2 check digits |
| 13 | * @return string |
| 14 | */ |
| 15 | public static function bankAccountNumber($prefix = '', $countryCode = 'CH', $length = null) |
| 16 | { |
| 17 | return static::iban($countryCode, $prefix, $length); |
| 18 | } |
| 19 | } |
| 20 |