You are here

public function TinyPngInterface::setFromUrl in TinyPNG 8

Compress with \Tinify\fromUrl.

Parameters

string $url: URI of image file.

Return value

$this Current instance.

1 method overrides TinyPngInterface::setFromUrl()
TinyPng::setFromUrl in src/TinyPng.php
Compress with \Tinify\fromUrl.

File

src/TinyPngInterface.php, line 34

Class

TinyPngInterface
Interface TinyPngInterface.

Namespace

Drupal\tinypng

Code

public function setFromUrl($url);