芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/portal.pulsehost.co.uk/vendor/punic/punic/src/Exception/InvalidLocale.php
locale = $locale; $type = gettype($locale); if ($type === 'string') { $message = "'$locale' is not a valid locale identifier"; } else { $message = "A valid locale should be a string, $type received"; } parent::__construct($message, \Punic\Exception::INVALID_LOCALE, $previous); } /** * Retrieves the bad locale. * * @return mixed */ public function getLocale() { return $this->locale; } }