Skip to content

Commit

Permalink
Update images.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GautierDele authored Nov 18, 2024
1 parent 59de011 commit adeb6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/2.extensions/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Returns a [Image](https://github.com/Intervention/image/blob/develop/src/Image.p
Example : ![1280 x 720 example](/img/images-extension-1280x720.png)

```php
$faker->image(width: 1280, height: 720, backgroundColor: '#cccccc', textColor: '#333333');
$faker->image(width: 1280, height: 720, backgroundColor: '#cccccc', textColor: '#333333', text: 'My Placeholder text');

// Examples for saving the image
$image = $faker->image();
Expand Down

0 comments on commit adeb6f1

Please sign in to comment.