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
AddressExtension.php
46 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 AddressExtension extends Extension |
| 15 | { |
| 16 | /** |
| 17 | * @example '791 Crist Parks, Sashabury, IL 86039-9874' |
| 18 | */ |
| 19 | public function address(): string; |
| 20 | |
| 21 | /** |
| 22 | * Randomly return a real city name. |
| 23 | */ |
| 24 | public function city(): string; |
| 25 | |
| 26 | /** |
| 27 | * @example 86039-9874 |
| 28 | */ |
| 29 | public function postcode(): string; |
| 30 | |
| 31 | /** |
| 32 | * @example 'Crist Parks' |
| 33 | */ |
| 34 | public function streetName(): string; |
| 35 | |
| 36 | /** |
| 37 | * @example '791 Crist Parks' |
| 38 | */ |
| 39 | public function streetAddress(): string; |
| 40 | |
| 41 | /** |
| 42 | * Randomly return a building number. |
| 43 | */ |
| 44 | public function buildingNumber(): string; |
| 45 | } |
| 46 |