0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-12-28 14:58:08 +00:00
salesagility_SuiteCRM/Api/Core/Config/ApiConfig.php
2023-07-18 15:53:08 +01:00

62 lines
1.1 KiB
PHP

<?php
namespace Api\Core\Config;
#[\AllowDynamicProperties]
class ApiConfig
{
// we still support 5.5.9
private static $slimSettings = [
'Api/Core/Config/slim.php',
];
private static $containers = [
'Api/V8/Config/services.php',
];
private static $routes = [
'Api/V8/Config/routes.php',
];
public const OAUTH2_PRIVATE_KEY = 'Api/V8/OAuth2/private.key';
public const OAUTH2_PUBLIC_KEY = 'Api/V8/OAuth2/public.key';
/**
*
* @var boolean
*/
private static $debugExceptions = false;
/**
*
* @return boolean
*/
public static function getDebugExceptions()
{
return self::$debugExceptions;
}
/**
* @return array
*/
public static function getSlimSettings()
{
return self::$slimSettings;
}
/**
* @return array
*/
public static function getContainers()
{
return self::$containers;
}
/**
* @return array
*/
public static function getRoutes()
{
return self::$routes;
}
}