mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-04-21 16:01:56 +02:00
Updated readme.md: added a missing backslash
This commit is contained in:
parent
76b1c25e61
commit
f3e29936aa
@ -412,7 +412,7 @@ Here is an example showing how to populate 5 `Author` and 10 `Book` objects:
|
||||
```php
|
||||
<?php
|
||||
$generator = \Faker\Factory::create();
|
||||
$populator = new Faker\ORM\Propel\Populator($generator);
|
||||
$populator = new \Faker\ORM\Propel\Populator($generator);
|
||||
$populator->addEntity('Author', 5);
|
||||
$populator->addEntity('Book', 10);
|
||||
$insertedPKs = $populator->execute();
|
||||
|
Loading…
x
Reference in New Issue
Block a user