diff --git a/src/KevBaldwyn/Image/Cache/ProviderCacher.php b/src/KevBaldwyn/Image/Cache/ProviderCacher.php index 82a14e3..f06cc12 100644 --- a/src/KevBaldwyn/Image/Cache/ProviderCacher.php +++ b/src/KevBaldwyn/Image/Cache/ProviderCacher.php @@ -9,6 +9,7 @@ class ProviderCacher implements CacherInterface { protected $imgPath; protected $operations; protected $cacheLifetime; + protected $publicPath; public function __construct(ProviderInterface $provider) @@ -28,6 +29,8 @@ public function init($imgPath, $operations, $cacheLifetime, $publicPath) $this->imgPath = $imgPath; $this->operations = $operations; $this->cacheLifetime = $cacheLifetime; + $this->publicPath = $publicPath; + } @@ -55,4 +58,4 @@ public function put($cacheData) $this->provider->putToCache($this->checksum, $cacheData, $this->cacheLifetime); } -} \ No newline at end of file +}