AddressExtension.php
1 year ago
BarcodeExtension.php
1 year ago
BloodExtension.php
1 year ago
ColorExtension.php
1 year ago
CompanyExtension.php
1 year ago
CountryExtension.php
1 year ago
DateTimeExtension.php
1 year ago
Extension.php
1 year ago
ExtensionNotFound.php
1 year ago
FileExtension.php
1 year ago
GeneratorAwareExtension.php
1 year ago
GeneratorAwareExtensionTrait.php
1 year ago
Helper.php
1 year ago
NumberExtension.php
1 year ago
PersonExtension.php
1 year ago
PhoneNumberExtension.php
1 year ago
UuidExtension.php
1 year ago
VersionExtension.php
1 year ago
BarcodeExtension.php
48 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @license MIT |
| 4 | * |
| 5 | * Modified by impress-org on 07-August-2024 using Strauss. |
| 6 | * @see https://github.com/BrianHenryIE/strauss |
| 7 | */ |
| 8 | |
| 9 | namespace Give\Vendors\Faker\Extension; |
| 10 | |
| 11 | /** |
| 12 | * @experimental This interface is experimental and does not fall under our BC promise |
| 13 | */ |
| 14 | interface BarcodeExtension extends Extension |
| 15 | { |
| 16 | /** |
| 17 | * Get a random EAN13 barcode. |
| 18 | * |
| 19 | * @example '4006381333931' |
| 20 | */ |
| 21 | public function ean13(): string; |
| 22 | |
| 23 | /** |
| 24 | * Get a random EAN8 barcode. |
| 25 | * |
| 26 | * @example '73513537' |
| 27 | */ |
| 28 | public function ean8(): string; |
| 29 | |
| 30 | /** |
| 31 | * Get a random ISBN-10 code |
| 32 | * |
| 33 | * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number |
| 34 | * |
| 35 | * @example '4881416324' |
| 36 | */ |
| 37 | public function isbn10(): string; |
| 38 | |
| 39 | /** |
| 40 | * Get a random ISBN-13 code |
| 41 | * |
| 42 | * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number |
| 43 | * |
| 44 | * @example '9790404436093' |
| 45 | */ |
| 46 | public function isbn13(): string; |
| 47 | } |
| 48 |