Answer the question
In order to leave comments, you need to log in
Comments in yii2 remain comments like everywhere else? Or are they functional?
I listen yii2. Everywhere in the comments there is something like:
/* \@var $content string */ /*
\
@var $this \yii\web\View *
/ Now, is this what would someone like understand me? (A regular comment with an explanation).
Or is it addressed to some kind of code handler?
sorry for being stupid
Answer the question
In order to leave comments, you need to log in
Good evening.
Here's an article for you to start, the rest is a search on google
And after another article .
These are the comments for the IDE. To make the plugin work better.
There are practically no annotations in Yii. The comments are read by the console controller help to demonstrate the description of the commands and, as far as I remember, that's it.
Yii does have "magic" comments, i.e. those that affect the operation of the application.
For example, "@soap"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question