Commit ba2ea76f authored by Nicolas Widart's avatar Nicolas Widart

Add comments

parent 7e78b764
......@@ -31,6 +31,13 @@ class Imagy
$this->imageFactory = $imageFactory;
}
/**
* Get an image in the given thumbnail options
* @param string $path
* @param string $thumbnail
* @param bool $forceCreate
* @return string
*/
public function get($path, $thumbnail, $forceCreate = false)
{
$filename = '/assets/media/' . $this->newFilename($path, $thumbnail);
......
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