You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Вот пример настроек.
Классы самих моделей не описаны:
name: "@catalog"
description: "Каталог товаров"
namespace: "App\\Modules\\Catalog\\"
# "Public API" of the modulite: classes, functions, constants, etc.
# Symbols not listed here will be internal.
export:
- "Repositories\\Interfaces\\CategoryRepositoryInterface"
- "Repositories\\Interfaces\\ProductRepositoryInterface"
# Class members to exclude, they override "export".
force-internal:
# Dependencies: other modulites, global classes, defines, etc.
require:
- "\\App\\Http\\Controllers\\Controller"
internal:
# Granting partial access to internal symbols, "as an exception".
allow-internal-access:
но обращение к моделям App\Modules\Catalog\Models\Product из другого модуля не приводит ни к чему, ни каких подсказок не появляется.
Версия PhpStorm - 2022.3.1
Конфигурация базовая без донастроек.
Ядро - Laravel 9
The text was updated successfully, but these errors were encountered:
Так же, при инициализации модуля, не все используемые классы определяются корректно
в require помещаются только классы из того же неймспейса, внешние зависимости - функции, пакеты, не добавляются
плагин огонь, впечатлен! очень надеюсь на его развитие
Вот пример настроек.
Классы самих моделей не описаны:
но обращение к моделям App\Modules\Catalog\Models\Product из другого модуля не приводит ни к чему, ни каких подсказок не появляется.
Версия PhpStorm - 2022.3.1
Конфигурация базовая без донастроек.
Ядро - Laravel 9
The text was updated successfully, but these errors were encountered: