protected throwExceptionIfPathExceedsMaximumLength ( string $cacheEntryPathAndFilename ) : void | ||
$cacheEntryPathAndFilename | string | |
return | void |
protected function throwExceptionIfPathExceedsMaximumLength($cacheEntryPathAndFilename)
{
if (strlen($cacheEntryPathAndFilename) > $this->environmentConfiguration->getMaximumPathLength()) {
throw new Exception('The length of the cache entry path "' . $cacheEntryPathAndFilename . '" exceeds the maximum path length of ' . $this->environmentConfiguration->getMaximumPathLength() . '. Please consider setting the FLOW_PATH_TEMPORARY_BASE environment variable to a shorter path. ', 1248710426);
}
}