File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -28,3 +28,21 @@ echo $faker->bank; // "Narodowy Bank Polski"
28
28
// Generates a random bank account number
29
29
echo $faker->bankAccountNumber; // "PL14968907563953822118075816"
30
30
```
31
+
32
+ ### ` Faker\Provider\pl_PL\LicensePlate `
33
+ ``` php
34
+ <?php
35
+ // Generates a random Polish civil vehicle registration number
36
+ echo $faker->licensePlate; // "SO 4429E"
37
+ echo $faker->licensePlate(false); // "BKL YP21"
38
+ // Generates a random Polish vehicle registration number including civil, army and services plates
39
+ echo $faker->licensePlate(true); // "CBY 0874H", "HPF N2LV"
40
+ // Generates a random Polish vehicle registration number for specific voivodeships
41
+ echo $faker->licensePlate(false, ['zachodniopomorskie', 'świętokrzyskie']); // "ZGY 35807"
42
+ // Generates a random Polish vehicle registration number for specific counties
43
+ echo $faker->licensePlate(false, ['warmińsko-mazurskie'], ['nidzicki', 'olecki']); // "NOE 35807"
44
+ // Generates a random Polish license plate of Border Service or Police
45
+ echo $faker->licensePlate(true, ['services'], ['Straż Graniczna', 'Policja']); // "UG 822PC"
46
+ // Generates a random Polish army license plate
47
+ echo $faker->licensePlate(true, ['army']); // "UG 822PC"
48
+ ```
You can’t perform that action at this time.
0 commit comments