Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minishop2Config переименован в config в главном классе #817

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

GulomovCreative
Copy link
Member

Что оно делает?

Переименовывает miniShop2Config на config тем самым добавляя большую абстракцию.

Зачем это нужно?

Во избежание громоздкости кода, в том числе и для сторонних разработчиков. Т.к. это приводит к сложной ситуации когда:

  1. Класс называется MiniShop
  2. Его экземпляр называется miniShop2
  3. А конфиг называется miniShop2Config

т.е. пред. разработчик предлагает обращаться к конфигу след. образом: miniShop2.miniShop2Config

@biz87 biz87 merged commit b733384 into modx-pro:master Mar 28, 2023
@GulomovCreative GulomovCreative deleted the patch-6 branch March 29, 2023 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants