*/ public array $persistentServices = [ 'autoloader', 'locator', 'exceptions', 'commands', 'codeigniter', 'superglobals', 'routes', 'cache', ]; /** * Reset Event Listeners * * List of event names whose listeners should be removed between requests. * Use this if you register event listeners inside other event callbacks * (rather than at the top level of Config/Events.php), which would cause * them to accumulate across requests in worker mode. * * @var list */ public array $resetEventListeners = []; /** * Force Garbage Collection * * Whether to force garbage collection after each request. * Helps prevent memory leaks at a small performance cost. */ public bool $forceGarbageCollection = true; }