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
|
|
@ -97,6 +97,7 @@ return [
|
||||||
'children' => [
|
'children' => [
|
||||||
'HTTPS Certificates' => 'https-certificates',
|
'HTTPS Certificates' => 'https-certificates',
|
||||||
'Misc' => 'misc-tips',
|
'Misc' => 'misc-tips',
|
||||||
|
'Global Cache/Storage/...' => 'global-stuff',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'Stay Updated' => 'stay-updated',
|
'Stay Updated' => 'stay-updated',
|
||||||
|
|
|
||||||
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