public static function get(/*# int */ $code)/*# : string */
    {
        // process code
        if (!is_numeric($code)) {
            return is_scalar($code) ? (string) $code : print_r($code, true);
        } else {
            $code = (int) $code;
        }

        // get remaining arguments if any
        $arguments = func_get_args();
        array_shift($arguments);

        // build message and return it
        return self::getFormatter()->formatMessage(
            self::getTemplateByCode($code, get_called_class()),
            $arguments
        );
    }
public static function get(/*# int */ $code)/*# : string */
    {
        // process code
        if (!is_numeric($code)) {
            return is_scalar($code) ? (string) $code : print_r($code, true);
        } else {
            $code = (int) $code;
        }

        // get remaining arguments if any
        $arguments = func_get_args();
        array_shift($arguments);

        // build message and return it
        return self::getFormatter()->formatMessage(
            self::getTemplateByCode($code, get_called_class()),
            $arguments
        );
    }
{@inheritDoc}