<?php
// app/Services/CustomScriptService.php

namespace App\Services;

use App\Models\CustomScript;
use Illuminate\Support\Collection;

class CustomScriptService
{
    public function getAllCustomScripts(): Collection
    {
        return CustomScript::all();
    }

    public function createCustomScript(array $data): void
    {
        CustomScript::create($data);
    }
}