1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-29 08:40:33 +02:00

moved cachekey to intervention/imagecache

This commit is contained in:
Oliver Vogel
2014-01-10 15:55:54 +01:00
parent c932b81171
commit 025f0f777f

View File

@@ -76,13 +76,6 @@ class Image
*/ */
protected $original; protected $original;
/**
* Identifier key for cached images
*
* @var string
*/
public $cachekey = null;
/** /**
* Result of image after encoding * Result of image after encoding
* *
@@ -182,10 +175,10 @@ class Image
} }
// Create image and run callback // Create image and run callback
$image = new \Intervention\Image\ImageCache; $imagecache = new \Intervention\Image\ImageCache;
$image = is_callable($callback) ? $callback($image) : $image; $imagecache = is_callable($callback) ? $callback($imagecache) : $imagecache;
return $image->get($lifetime, $returnObj); return $imagecache->get($lifetime, $returnObj);
} }
/** /**