<?php

namespace App\Repositories\Webprofile\En;

use App\Models\Webprofile\En\Information;
use App\Repositories\Repository;
use Illuminate\Database\Eloquent\Model;

class InformationRepository extends Repository
{
    public function __construct(Information $model)
    {
        $this->model = $model;
    }

    public function get()
    {
    }

    public function paginate()
    {
    }

    public function update($data, $information)
    {
        return $this->model->updateOrCreate([
            'information_id' => $information->id,
        ], $data);
    }
}
