Mode Map None Base Items - scil/LaravelFly GitHub Wiki
All of Safety Checklist
- Mode Map
- Mode Backup Safety Checklist
Mode Map None Base Items
Objects here can boot on worker.If you boot some of them before any requests, this table is useful.
item | Data Pollution | note | Memory Leak | note | config |
---|---|---|---|---|---|
auth | π | Dict, customCreators with same name should keep same | β | ||
GateContract::class | β | Dict | β | afterCallbacks and beforeCallbacks can append | |
cookie(CookieJar) | π§ | Dict. | β | LARAVELFLY_SERVICES['cookie'] | |
Pagination | π | static props like currentPathResolver, ... in Pagination\AbstractPaginator should keep same. | β | ||
hash | π§ | clone | β | ||
log | β | β | |||
view.finder | β | Dict | β | addNamespace offen called by loadViewsFrom of ServiceProviders such as PaginationServiceProvider. | |
translator | π | Dict. 1. fallback should keep same. 2. [1] | β | LARAVELFLY_SERVICES['translator'] | |
translation.loader | π | Dict. 1. path should keep same. 2. jsonPaths. [1]. | β | if (!\in_array($path, $this->jsonPaths, true)) | LARAVELFLY_SERVICES['translator'] |
[1]οΌsame key should always be found in the same file, this consistent requirement is like LARAVELFLY_SERVICES['view.finder']