/** * Gets the system path that all thumbnails for this model are stored on * Is used for storing thumbnails to the file system * * @return string */ public function getThumbnailSystemPath() { $path = $this->getSystemPath() . 'thumbnails/'; \File::exists($path) or \File::makeDirectory($path); return $path; }