D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
eldiastypharmacy.com
/
app
/
Contracts
/
Repositories
/
Filename :
TranslationRepositoryInterface.php
back
Copy
<?php namespace App\Contracts\Repositories; interface TranslationRepositoryInterface { /** * @param object $request Data value must be in key and value pair structure, ex: params = ['name'=>'John Doe'] * @param string $model * @param int|string $id * @return bool */ public function add(object $request, string $model, int|string $id): bool; /** * @param object $request * @param string $model * @param int|string $id * @return bool */ public function update(object $request, string $model, int|string $id): bool; /** * @param string $model * @param int|string $id * @return bool */ public function delete(string $model, int|string $id): bool; /** * @param string $model * @param string $id * @param string $lang * @param string $key * @param string $value * @return bool */ public function updateData(string $model, string $id, string $lang, string $key, string $value):bool; }