S
S
Sergey Zolotarev2021-09-02 11:01:34
Yii
Sergey Zolotarev, 2021-09-02 11:01:34

What is the correct way to include multiple classes in my own Yii2 component?

Good afternoon!
Recently, I encountered the fact that the connection of classes of my own component was implemented with failure and the compiler displayed this message:
H4gZRK0EZMYJvc
As you can see, the compiler refers to the fact that I specified the method of one of several classes bound to the component and not only in this section of code .
Is it possible to use more than one class in a component file? The code for the controller and my components is available in the comments to the question.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Bay, 2021-09-02
@seregazolotaryow64

How can you be a programmer without perceiving the information that the system tells you?

Yii::$app

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question