mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Global stuff 2.x
This commit is contained in:
parent
53fd042d88
commit
e8189a9af2
2 changed files with 30 additions and 0 deletions
29
docs/source/v2/global-stuff.blade.md
Normal file
29
docs/source/v2/global-stuff.blade.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: Global Cache/Storage/Assets/...
|
||||
description: Global Cache/Storage/Assets/...
|
||||
extends: _layouts.documentation_v2
|
||||
section: content
|
||||
---
|
||||
|
||||
# Global Cache/Storage/Assets/...
|
||||
|
||||
## Global Cache {#global-cache}
|
||||
|
||||
Use the `GlobalCache` facade, or the `global_cache()` helper.
|
||||
|
||||
## Global Storage {#global-storage}
|
||||
|
||||
Create a disk and *don't* add it to `tenancy.filesystem.disks`.
|
||||
|
||||
## Global Assets {#global-assets}
|
||||
|
||||
Use the `global_asset()` helper.
|
||||
|
||||
## Global Database {#global-database}
|
||||
|
||||
Create a new connection and use it like `DB::connection($connectionName)->table('foo')->where(...)`
|
||||
|
||||
## Global Queues/Jobs {#global-queues-jobs}
|
||||
|
||||
Coming soon.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue