mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 17:24:03 +00:00
Improve file structure (#5)
* Add Enums and Overrides folders * Fix code style (php-cs-fixer) --------- Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
This commit is contained in:
parent
1d0ca27bc8
commit
e3b59ae2b5
26 changed files with 33 additions and 32 deletions
|
|
@ -10,7 +10,7 @@ use Illuminate\Contracts\Broadcasting\Broadcaster;
|
|||
use Illuminate\Foundation\Application;
|
||||
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
|
||||
use Stancl\Tenancy\Contracts\Tenant;
|
||||
use Stancl\Tenancy\TenancyBroadcastManager;
|
||||
use Stancl\Tenancy\Overrides\TenancyBroadcastManager;
|
||||
|
||||
class BroadcastTenancyBootstrapper implements TenancyBootstrapper
|
||||
{
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ use Stancl\Tenancy\Contracts\Tenant;
|
|||
class CacheTagsBootstrapper implements TenancyBootstrapper
|
||||
{
|
||||
protected ?CacheManager $originalCache = null;
|
||||
public static string $cacheManagerWithTags = \Stancl\Tenancy\CacheManager::class;
|
||||
public static string $cacheManagerWithTags = \Stancl\Tenancy\Overrides\CacheManager::class;
|
||||
|
||||
public function __construct(
|
||||
protected Application $app
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ use Illuminate\Routing\UrlGenerator;
|
|||
use Illuminate\Support\Facades\URL;
|
||||
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
|
||||
use Stancl\Tenancy\Contracts\Tenant;
|
||||
use Stancl\Tenancy\TenancyUrlGenerator;
|
||||
use Stancl\Tenancy\Overrides\TenancyUrlGenerator;
|
||||
|
||||
/**
|
||||
* Makes the app use TenancyUrlGenerator (instead of Illuminate\Routing\UrlGenerator) which:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue