This commit is contained in:
Juan Pablo Vial
2023-07-24 20:41:38 -04:00
parent 6ab24c8961
commit be33305cf1
612 changed files with 11436 additions and 107 deletions

View 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
);
}
}