Repository navigation
Expand file tree
/
Copy pathbootstrap.php
More file actions
206 lines (204 loc) · 6.93 KB
/
Copy pathbootstrap.php
File metadata and controls
206 lines (204 loc) · 6.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<?php
declare(strict_types=1);
// 显式加载模块,保持 Origami 兼容性与公开命名空间。
foreach ([
'Http/HttpError.php',
'Http/Request.php',
'Http/RequestContext.php',
'Http/Input.php',
'Http/Response.php',
'DependencyInjection/ServiceLifetime.php',
'DependencyInjection/ServiceDescriptor.php',
'DependencyInjection/ServiceResolver.php',
'DependencyInjection/Disposable.php',
'Monitoring/Monitoring.php',
'Monitoring/Correlation.php',
'Monitoring/CorrelationId.php',
'Monitoring/HttpCorrelation.php',
'Monitoring/GrpcCorrelation.php',
'Monitoring/MonitoringContext.php',
'Monitoring/NullMonitoring.php',
'Monitoring/LoggingMonitoring.php',
'Monitoring/ScopeMonitoring.php',
'Monitoring/MonitoringDashboardOptions.php',
'Monitoring/MonitoringStorageOptions.php',
'Monitoring/MonitoringOptions.php',
'Monitoring/ActiveMonitoring.php',
'Monitoring/MonitoringEventBuckets.php',
'Monitoring/MonitoringSession.php',
'Monitoring/MonitoringCollector.php',
'Monitoring/MonitoringWatcher.php',
'Monitoring/MonitoringRegistration.php',
'Monitoring/MonitoringBuilder.php',
'Monitoring/ConfigurableMonitoring.php',
'Monitoring/MonitoringStore.php',
'Monitoring/DatabaseMonitoringStore.php',
'Monitoring/MonitoringRepository.php',
'Monitoring/MonitoringDashboard.php',
'DependencyInjection/ServiceCollection.php',
'DependencyInjection/ServiceProvider.php',
'DependencyInjection/ServiceScope.php',
'DependencyInjection/Invoker.php',
'Http/Middleware.php',
'View/View.php',
'View/helpers.php',
'Network/WebSocket/WebSocket.php',
'Http/ActionResolver.php',
'Http/Pipeline.php',
'Routing/RouteMatch.php',
'Routing/RouteMatcher.php',
'Routing/Router.php',
'Routing/RouteRegistrar.php',
'Http/HttpKernel.php',
'Http/Middleware/ParseJsonInput.php',
'Http/Middleware/RequestLog.php',
'Logging/JournalWriter.php',
'Logging/JournalFormatter.php',
'Logging/JournalEntry.php',
'Logging/DiaryOptions.php',
'Logging/DiaryRegistration.php',
'Logging/DiaryBuilder.php',
'Logging/DiaryComposer.php',
'Logging/JournalSink.php',
'Logging/LaneJournalSink.php',
'Logging/StackJournalSink.php',
'Logging/StackJournalWriter.php',
'Logging/StderrJournalWriter.php',
'Logging/NullJournalWriter.php',
'Logging/FileJournalWriter.php',
'Logging/CallableJournalWriter.php',
'Logging/JsonLineJournalFormatter.php',
'Logging/PlainTextJournalFormatter.php',
'Logging/PatternJournalFormatter.php',
'Logging/TemplateJournalNamer.php',
'Logging/Diary.php',
'Config/Config.php',
'Config/Environment.php',
'Config/helpers.php',
'Config/InjectConfig.php',
'Config/ConfigInjector.php',
'Hosting/HostedService.php',
'Hosting/Host.php',
'Hosting/Options.php',
'Hosting/HttpServerOptions.php',
'Hosting/TimerHostedService.php',
'Attributes/Module.php',
'Attributes/HttpRoute.php',
'Attributes/WebSocket.php',
'Attributes/WebSocketMessage.php',
'WebSocket/Hub.php',
'WebSocket/HandlerDispatcher.php',
'Attributes/Job.php',
'Attributes/Listens.php',
'Module/ClassDiscovery.php',
'Module/ModuleDiscovery.php',
'Timer/Timer.php',
'Timer/TimerRunner.php',
'Process/Process.php',
'Process/RuntimePulse.php',
'Process/RuntimeStatus.php',
'Process/StopSignal.php',
'Console/Doctor.php',
'Database/Database.php',
'Database/StatementResult.php',
'Database/Migrations.php',
'Cache/RedisOptions.php',
'Cache/CacheOptions.php',
'Cache/CacheRegistration.php',
'Cache/CacheBuilder.php',
'Cache/CacheStore.php',
'Cache/AbstractCacheStore.php',
'Cache/ArrayCacheStore.php',
'Cache/RedisCacheStore.php',
'Cache/Cache.php',
'Cache/Redis.php',
'Auth/Auth.php',
'Queue/QueueOptions.php',
'Queue/QueueBackend.php',
'Queue/QueueRegistration.php',
'Queue/QueueBuilder.php',
'Queue/RedisQueue.php',
'Queue/Queue.php',
'Mail/MailOptions.php',
'Mail/MailRegistration.php',
'Mail/MailBuilder.php',
'Mail/Mailer.php',
'Queue/JobDispatcher.php',
'Schedule/Cron.php',
'Schedule/Schedule.php',
'Database/SqlIdentifier.php',
'Database/Orm/Relation.php',
'Database/Orm/BelongsTo.php',
'Database/Orm/HasOne.php',
'Database/Orm/HasMany.php',
'Database/Orm/BelongsToMany.php',
'Database/Orm/RelationLoader.php',
'Database/Orm/Model.php',
'Database/Orm/ModelContext.php',
'Database/Orm/ModelQuery.php',
'Database/Results/CountResult.php',
'Database/Results/StateCount.php',
'Database/Results/ScheduleRunStatus.php',
'Database/Models/AuthLimit.php',
'Database/Models/Job.php',
'Database/Models/MigrationRecord.php',
'Database/Models/RuntimePulseRecord.php',
'Database/Models/ScheduledJob.php',
'Database/Models/ScheduleRun.php',
'Database/Models/User.php',
'Console/InputError.php',
'Console/Input.php',
'Console/Output.php',
'Console/Command.php',
'Console/Definition.php',
'Console/Console.php',
'Console/Commands/DoctorCommand.php',
'Console/Commands/ServeCommand.php',
'Console/Commands/TcpServeCommand.php',
'Console/Commands/GrpcServeCommand.php',
'Console/Commands/MigrateUpCommand.php',
'Console/Commands/MigrateDownCommand.php',
'Console/Commands/MigrateStatusCommand.php',
'Console/Commands/QueueWorkCommand.php',
'Console/Commands/ScheduleListCommand.php',
'Console/Commands/ScheduleRunCommand.php',
'Console/Commands/ScheduleListenCommand.php',
'Console/Commands/ScheduleWorkCommand.php',
'Console/Commands/JobCommand.php',
'Console/Commands/MonitoringPruneCommand.php',
'Console/Commands/ScaffoldCommands.php',
'Network/Grpc/RpcException.php',
'Network/Grpc/Dispatcher.php',
'Http/Multipart.php',
'Http/UploadedFile.php',
'Http/RequestFactory.php',
'Http/HttpTransport.php',
'Http/StaticFiles.php',
'Filesystem/FilesystemOptions.php',
'Filesystem/FilesystemRegistration.php',
'Filesystem/FilesystemBuilder.php',
'Filesystem/FilesystemPath.php',
'Filesystem/FilesystemRootGuard.php',
'Filesystem/FilesystemMonitor.php',
'Filesystem/FilesystemMime.php',
'Filesystem/FilesystemDisk.php',
'Filesystem/LocalFilesystemDisk.php',
'Filesystem/Filesystem.php',
'Filesystem/FilesystemPublicServer.php',
'Events/EventsRegistration.php',
'Events/EventsBuilder.php',
'Events/QueueableEvent.php',
'Events/EventListenJob.php',
'Events/EventDispatcher.php',
'Http/HttpServer.php',
'Network/Network.php',
'Network/Tcp/TcpServer.php',
'Network/Grpc/GrpcServer.php',
'Network/Grpc/GrpcSource.php',
'Network/Grpc/GrpcGenerator.php',
'Network/Grpc/ProtoTools.php',
'Hosting/ApplicationBuilder.php',
'Hosting/Application.php',
] as $module) {
require_once __DIR__ . '/src/' . $module;
}