abstract class StubIntl extends IntlGlobals
Alias of {@link \Symfony\Component\Intl\Globals\IntlGlobals}.
U_ZERO_ERROR | Indicates that no error occurred. |
U_ILLEGAL_ARGUMENT_ERROR | Indicates that an invalid argument was passed. |
U_PARSE_ERROR | Indicates that the parse() operation failed. |
static bool | isFailure(int $errorCode) Returns whether the error code indicates a failure. | from IntlGlobals |
static int | getErrorCode() Returns the error code of the last operation. | from IntlGlobals |
static string | getErrorMessage() Returns the error message of the last operation. | from IntlGlobals |
static string | getErrorName(int $code) Returns the symbolic name for a given error code. | from IntlGlobals |
static | setError(int $code, string $message = '') Sets the current error. | from IntlGlobals |
Returns whether the error code indicates a failure.
Returns the error code of the last operation.
Returns IntlGlobals::UZEROERROR if no error occurred.
Returns the error message of the last operation.
Returns "UZEROERROR" if no error occurred.
Returns the symbolic name for a given error code.
Sets the current error.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/Locale/Stub/StubIntl.html