Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

Commit

Permalink
Merge pull request #21 from ddjikic/patch-1
Browse files Browse the repository at this point in the history
Update ProviderCacher.php
  • Loading branch information
kevbaldwyn committed Dec 2, 2014
2 parents d875457 + 701f6b5 commit 23e4f75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/KevBaldwyn/Image/Cache/ProviderCacher.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class ProviderCacher implements CacherInterface {
protected $imgPath;
protected $operations;
protected $cacheLifetime;
protected $publicPath;


public function __construct(ProviderInterface $provider)
Expand All @@ -28,6 +29,8 @@ public function init($imgPath, $operations, $cacheLifetime, $publicPath)
$this->imgPath = $imgPath;
$this->operations = $operations;
$this->cacheLifetime = $cacheLifetime;
$this->publicPath = $publicPath;

}


Expand Down Expand Up @@ -55,4 +58,4 @@ public function put($cacheData)
$this->provider->putToCache($this->checksum, $cacheData, $this->cacheLifetime);
}

}
}

0 comments on commit 23e4f75

Please sign in to comment.