config
This commit is contained in:
17
app_old/app/Alias/RemoteConnection.php
Normal file
17
app_old/app/Alias/RemoteConnection.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace App\Alias;
|
||||
|
||||
class RemoteConnection extends Connection
|
||||
{
|
||||
public function __construct(protected int $retries = 5)
|
||||
{
|
||||
parent::__construct(
|
||||
$_ENV['REMOTE_HOST'],
|
||||
$_ENV['REMOTE_DATABASE'],
|
||||
$_ENV['REMOTE_USER'],
|
||||
$_ENV['REMOTE_PASSWORD'],
|
||||
$_ENV['REMOTE_PORT'] ?? null,
|
||||
$this->retries
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user