Plugins base (#613)

* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
This commit is contained in:
Saeed Vaziry
2025-06-14 14:35:18 +02:00
committed by GitHub
parent adc0653d15
commit 131b828807
311 changed files with 3976 additions and 2660 deletions

View File

@ -45,10 +45,10 @@ public function user(): BelongsTo
public function provider(): \App\StorageProviders\StorageProvider
{
$providerClass = config('core.storage_providers_class')[$this->provider];
$providerClass = config('storage-provider.providers.'.$this->provider.'.handler');
/** @var \App\StorageProviders\StorageProvider $provider */
$provider = new $providerClass($this);
$provider = new $providerClass($this, new Server);
return $provider;
}