تاریخ تنظیم: __ / __ / ____
این قرارداد به موجب قانون کار جمهوری اسلامی ایران و آییننامههای اجرایی مربوطه منعقد میگردد.
| <?php | |
| if (! function_exists('json_get')) { | |
| /** | |
| * Get value from JSON array using dot notation or array search | |
| * | |
| * @param array $data JSON data | |
| * @param string $path Path like "current.geram24" or "gold.*.symbol:IR_GOLD_18K" | |
| * @return mixed | |
| */ |
| <?php | |
| namespace Modules\General\Contracts\Request; | |
| trait PaginationAndSortableAndSearchableValidator | |
| { | |
| public function page(): int | |
| { | |
| return intval($this->query(self::pageKey(), 1)); | |
| } |
در این سند، تمامی مستندات کلیدی پروژه به همراه توضیحات، نویسنده، تحویلگیرنده و زمان تولید به ترتیب منطقی آورده شدهاند.
| [ | |
| { | |
| "name": "فارس - شیراز", | |
| "url": "https://api.achareh.co/v2/regions/areas/?city=1216&limit=1000&offset=0&web=true" | |
| }, | |
| { | |
| "name": "تهران - تهران", | |
| "url": "https://api.achareh.co/v2/regions/areas/?city=333&limit=1000&offset=0&web=true" | |
| }, | |
| { |
| importScripts('https://www.gstatic.com/firebasejs/10.8.1/firebase-app-compat.js'); | |
| importScripts('https://www.gstatic.com/firebasejs/10.8.1/firebase-messaging-compat.js'); | |
| firebase.initializeApp({ | |
| apiKey: "__apiKey__", | |
| authDomain: "__authDomain__", | |
| projectId: "__projectId__", | |
| storageBucket: "__storageBucket__", | |
| messagingSenderId: "__messagingSenderId__", | |
| appId: "__appId__", |
| import { LucidModel, ModelAttributes, ModelQueryBuilderContract } from '@adonisjs/lucid/types/model' | |
| import { QueryCallback } from '@adonisjs/lucid/types/querybuilder' | |
| export abstract class BaseService<M extends LucidModel> { | |
| protected abstract model: M | |
| query(): ModelQueryBuilderContract<M, InstanceType<M>> { | |
| return this.model.query() | |
| } |
| <?php | |
| namespace Modules\General\Contracts\Repository; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Prettus\Repository\Eloquent\BaseRepository as PrettusBaseRepository; | |
| abstract class ApiBaseRepository extends PrettusBaseRepository | |
| { | |
| protected function applyAndReset(\Closure $callback): mixed |
| <?php | |
| namespace App\Contracts; | |
| use Illuminate\Contracts\Support\Arrayable; | |
| use Illuminate\Contracts\Support\Jsonable; | |
| use Illuminate\Support\Carbon; | |
| use Illuminate\Support\Str; | |
| class Otp implements Arrayable, Jsonable |