Writes an image src http string to disk as a temporary file and returns the LocallyStoredImage object that has the info you should need
on the image
public static storeImagesToLocalFile ( string[] $imageSrcs, boolean $returnAll, |
||
$imageSrcs | string[] | |
$returnAll | boolean | |
$config | ||
Результат | Goose\Images\LocallyStoredImage[] |
/** * @param string[] $imageSrcs * @param bool $returnAll * * @return LocallyStoredImage[] */ private function getLocallyStoredImages($imageSrcs, $returnAll = false) { return ImageUtils::storeImagesToLocalFile($imageSrcs, $returnAll, $this->config()); }