Overview

Namespaces

  • EmanueleMinotto
    • Faker

Classes

  • PlaceholdItProvider
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class PlaceholdItProvider

placehold.it provider for Faker.

Faker\Provider\Base
Extended by EmanueleMinotto\Faker\PlaceholdItProvider
Namespace: EmanueleMinotto\Faker
Author: Emanuele Minotto minottoemanuele@gmail.com
Link: http://placehold.it/
Located at PlaceholdItProvider.php
Methods summary
public static string
# imageUrl( integer|string|array $size, string $format = 'gif', array $colors = [], string $text = null )

placehold.it image URL.

placehold.it image URL.

Parameters

$size
Height is optional, if no height is specified the image will be a square.
$format
Adding an image file extension will render the image in the proper format.
$colors
An array containing background color and foreground color.
$text
Custom text can be entered using a query string at the very end of the url.

Returns

string
API documentation generated by ApiGen