This commit is contained in:
Saeed Vaziry
2024-09-27 20:36:03 +02:00
committed by GitHub
parent b62c40c97d
commit f6bc04763b
122 changed files with 6609 additions and 807 deletions

View File

@ -3,15 +3,19 @@
namespace App\ServerProviders;
use App\Models\Server;
use App\Models\ServerProvider as Provider;
use Illuminate\Filesystem\FilesystemAdapter;
use Illuminate\Support\Facades\Storage;
abstract class AbstractProvider implements ServerProvider
{
protected ?Provider $serverProvider;
protected ?Server $server;
public function __construct(?Server $server = null)
public function __construct(?Provider $serverProvider = null, ?Server $server = null)
{
$this->serverProvider = $serverProvider;
$this->server = $server;
}