vhost = $vhost; } public function file(string $os): string { return File::get(base_path('system/commands/ubuntu/webserver/nginx/create-phpmyadmin-vhost.sh')); } public function content(string $os): string { return Str::replace('__vhost__', $this->vhost, $this->file($os)); } }