Global stuff 2.x

This commit is contained in:
Samuel Štancl 2019-09-22 19:43:32 +02:00
parent 53fd042d88
commit e8189a9af2
2 changed files with 30 additions and 0 deletions

View file

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

View 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.