setcookie(self::redirectCookieString, '1', time() + 5); $response->sendResponse(); exit; } exit(sprintf("Failed to create the attribute models, please check the permissions of the '%s' directory", $generator->getPath())); } }
/**
* Helper function to validate if the thrown exception is an shopware attribute model exception.
*
* @return bool
*/
/**
* Set our Response instance to "pretend" mode so that things like
* cookies and headers are not actually sent, allowing PHP 7.2+ to
* not complain when ini_set() function is used.
*
* @return $this
*
* @deprecated No longer used.
*/