/**
* Constructor
*
* @param string|null $name The name identifying this type
*/
public function __construct($name = null)
{
$this->_name = $name;
}
/**
* Returns a Type object capable of converting a type identified by name.
*
* @param string $name type identifier
* @throws \InvalidArgumentException If type identifier is unknown
* @return \Cake\Database\Type
*/
public static function build($name)
{
if (isset(static::$_builtTypes[$name])) {
return static::$_builtTypes[$name];
}
if (!isset(static::$_types[$name])) {
throw new InvalidArgumentException(sprintf('Unknown type "%s"', $name));
}
if (is_string(static::$_types[$name])) {
return static::$_builtTypes[$name] = new static::$_types[$name]($name);
}
return static::$_builtTypes[$name] = static::$_types[$name];
}
/**
* Returns an arrays with all the mapped type objects, indexed by name.
*
* @return array
*/
public static function buildAll()
{
$result = [];
"Class 'PDO' not found"
if ($megabytes > 0) {
$this->increaseMemoryLimit($megabytes * 1024);
}
$error = error_get_last();
if (!is_array($error)) {
return;
}
$fatals = [
E_USER_ERROR,
E_ERROR,
E_PARSE,
];
if (!in_array($error['type'], $fatals, true)) {
return;
}
$this->handleFatalError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
});
}
/**
* Set as the default error handler by CakePHP.
*
* Use config/error.php to customize or replace this error handler.
* This function will use Debugger to display errors when debug > 0. And
* will log errors to Log, when debug == 0.
*
* You can use the 'errorLevel' option to set what type of errors will be handled.
* Stack traces for errors can be enabled with the 'trace' option.
*
* @param int $code Code of error
* @param string $description Error description
* @param string|null $file File on which error occurred
* @param int|null $line Line that triggered the error
* @param array|null $context Context
* @return bool True if error was handled
1
"Class 'PDO' not found"
"/home/boslsaintlucia/public_html/vendor/cakephp/cakephp/src/Database/Type.php"
103
| Key | Value |
| CONTEXT_DOCUMENT_ROOT | "/home/boslsaintlucia/public_html"
|
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/home/boslsaintlucia/public_html"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| HTTPS | "on"
|
| HTTP_ACCEPT | "*/*"
|
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate"
|
| HTTP_HOST | "www.bankofsaintlucia.com"
|
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
| HTTP_X_HTTPS | "1"
|
| PATH | "/bin:/usr/bin"
|
| PHP_INI_SCAN_DIR | "/opt/cpanel/ea-php72/root/etc:/opt/cpanel/ea-php72/root/etc/php.d:."
|
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on"
|
| REDIRECT_REDIRECT_HTTPS | "on"
|
| REDIRECT_REDIRECT_SCRIPT_URI | "https://www.bankofsaintlucia.com/p/electronic-funds-transfer"
|
| REDIRECT_REDIRECT_SCRIPT_URL | "/p/electronic-funds-transfer"
|
| REDIRECT_REDIRECT_SSL_TLS_SNI | "www.bankofsaintlucia.com"
|
| REDIRECT_REDIRECT_STATUS | "200"
|
| REDIRECT_REDIRECT_UNIQUE_ID | "aihYe5yhpq4IRgCwU0C6mAAAABg"
|
| REDIRECT_SCRIPT_URI | "https://www.bankofsaintlucia.com/p/electronic-funds-transfer"
|
| REDIRECT_SCRIPT_URL | "/p/electronic-funds-transfer"
|
| REDIRECT_SSL_TLS_SNI | "www.bankofsaintlucia.com"
|
| REDIRECT_STATUS | "200"
|
| REDIRECT_UNIQUE_ID | "aihYe5yhpq4IRgCwU0C6mAAAABg"
|
| REDIRECT_URL | "/webroot/p/electronic-funds-transfer"
|
| REMOTE_ADDR | "216.73.216.208"
|
| REMOTE_PORT | "44767"
|
| REQUEST_METHOD | "GET"
|
| REQUEST_SCHEME | "https"
|
| REQUEST_URI | "/p/electronic-funds-transfer"
|
| SCRIPT_FILENAME | "/home/boslsaintlucia/public_html/webroot/index.php"
|
| SCRIPT_NAME | "/webroot/index.php"
|
| SCRIPT_URI | "https://www.bankofsaintlucia.com/p/electronic-funds-transfer"
|
| SCRIPT_URL | "/p/electronic-funds-transfer"
|
| SERVER_ADDR | "198.54.112.36"
|
| SERVER_ADMIN | "webmaster@bankofsaintlucia.com"
|
| SERVER_NAME | "www.bankofsaintlucia.com"
|
| SERVER_PORT | "443"
|
| SERVER_PROTOCOL | "HTTP/1.1"
|
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache"
|
| SSL_TLS_SNI | "www.bankofsaintlucia.com"
|
| TZ | "UTC"
|
| UNIQUE_ID | "aihYe5yhpq4IRgCwU0C6mAAAABg"
|
| PHP_SELF | "/webroot/index.php"
|
| REQUEST_TIME_FLOAT | 1781028987.2002
|
| REQUEST_TIME | 1781028987
|
| argv | [] |
| argc | 0
|