Commit 31693c2c authored by Nicolas Widart's avatar Nicolas Widart

Adding documentation

parent d7c34dd2
......@@ -60,6 +60,10 @@ class Imagy
return '/assets/media/' . $this->newFilename($originalImage, $thumbnail);
}
/**
* Create all thumbnails for the given image path
* @param string $path
*/
public function createAll($path)
{
foreach ($this->manager->all() as $thumbName => $filters) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment