/** * Constructor. * * @since 3.0 * * @param LatLongValue $boundsNorthEast * @param LatLongValue $boundsSouthWest * @param string $image * * @throws InvalidArgumentException */ public function __construct(LatLongValue $boundsNorthEast, LatLongValue $boundsSouthWest, $image) { if (!is_string($image)) { throw new InvalidArgumentException('$image must be a string'); } parent::__construct($boundsNorthEast, $boundsSouthWest); $this->imageUrl = $image; }