From 76c36ad07a5dbfb0e3a47bd6c4b25275d84df534 Mon Sep 17 00:00:00 2001 From: Adel Date: Mon, 1 Aug 2022 17:59:15 +0400 Subject: [PATCH] Create ide.json --- ide.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ide.json diff --git a/ide.json b/ide.json new file mode 100644 index 000000000..a4b4d9c96 --- /dev/null +++ b/ide.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://laravel-ide.com/schema/laravel-ide-v2.json", + "completions": [ + { + "complete": "classFields", + "options": { + "fieldsFilter": { + "fetch": "own", + "modifier": ["public"] + } + }, + "condition": [ + { + "methodNames": ["from", "optional"], + "classFqn": ["\\Spatie\\LaravelData\\Concerns\\BaseData"], + "place": "arrayKey" + }, + { + "methodNames": ["collection"], + "classFqn": ["\\Spatie\\LaravelData\\Concerns\\BaseData"], + "place": "arrayInArrayKey" + } + ] + } + ] +}