You are here

public function TinyPngInterface::setFromFile in TinyPNG 8

Compress with \Tinify\fromFile.

Parameters

string $uri: URI of file.

Return value

$this Current instance.

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

File

src/TinyPngInterface.php, line 45

Class

TinyPngInterface
Interface TinyPngInterface.

Namespace

Drupal\tinypng

Code

public function setFromFile($uri);