vito/app/SSHCommands/InstallRequirementsCommand.php
Saeed Vaziry 5c72f12490 init
2023-07-02 12:47:50 +02:00

29 lines
529 B
PHP
Executable File

<?php
namespace App\SSHCommands;
use Illuminate\Support\Facades\File;
class InstallRequirementsCommand extends Command
{
protected $email;
protected $name;
public function __construct($email, $name)
{
$this->email = $email;
$this->name = $name;
}
public function file(string $os): string
{
return File::get(base_path('system/commands/ubuntu/install-requirements.sh'));
}
public function content(string $os): string
{
return $this->file($os);
}
}