Line 35 in /home/vivaexp/domains/ss5.vivaexpeditions.com/public_html/vendor/silverstripe/assets/src/FilenameParsing/HashFileIDHelper.php
26 public function buildFileID($filename, $hash = null, $variant = null, $cleanfilename = true) 27 { 28 if ($filename instanceof ParsedFileID) { 29 $hash = $filename->getHash(); 30 $variant = $filename->getVariant(); 31 $filename = $filename->getFilename(); 32 } 33 34 if (empty($hash)) { 35 throw new InvalidArgumentException('HashFileIDHelper::buildFileID requires an $hash value.'); 36 } 37 38 // Since we use double underscore to delimit variants, eradicate them from filename 39 if ($cleanfilename) { 40 $filename = $this->cleanFilename($filename); 41 }
Line 35 in /home/vivaexp/domains/ss5.vivaexpeditions.com/public_html/vendor/silverstripe/assets/src/FilenameParsing/HashFileIDHelper.php
26 public function buildFileID($filename, $hash = null, $variant = null, $cleanfilename = true) 27 { 28 if ($filename instanceof ParsedFileID) { 29 $hash = $filename->getHash(); 30 $variant = $filename->getVariant(); 31 $filename = $filename->getFilename(); 32 } 33 34 if (empty($hash)) { 35 throw new InvalidArgumentException('HashFileIDHelper::buildFileID requires an $hash value.'); 36 } 37 38 // Since we use double underscore to delimit variants, eradicate them from filename 39 if ($cleanfilename) { 40 $filename = $this->cleanFilename($filename); 41 }