the function imageUrl() does not work anymore
public function load(ObjectManager $manager)
{
$faker = Factory:: create('FR-fr');
for ($i = 1; $i < 30; $i++) {
$ad = new Ad();
$title = $faker->sentence();
$coverImage = $faker->imageUrl(1000, 350);
$coverImage = imageUrl2(1000, 350);
what is the alternative?
Aucun commentaire:
Enregistrer un commentaire