I found several ways to configure Yii 1 with phpstorm. But I do not know how to deal with Yii 2.
There are some errors when using phpstorm. for example Yii::$app->db2, this method will call
Yii::$app->db2
"Access to the field through the magic method",
and some method bindValue,queryOnewill also cause some problems.
bindValue,queryOne
At the moment there is no built-in function for Yii2as a frame (this is simple Yii1and Symfony, if I remember correctly).
Yii2
Yii1
Symfony
: Yii2 DocBlock ( @var @property). , , . , .
DocBlock
@var
@property
Source: https://habr.com/ru/post/1605682/More articles:Attach a shortcut to the corner? - pythonHide / show li elements based on the selected category filter - javascriptcannot override value for undefined - javascriptDoes memsql support Full Outer Join? - outer-joinПросмотр проблемы, вызывающей второй фрагмент из FirstFragment - androiddisable radio button originally javascript - javascriptWhy are two / four threads even slower than a single thread making the inner_product vector in C ++ 11 multi-threaded colling? - c ++How to start the prediction engine as a service - loggingPass a list view value in ajax - javascriptЗаменить вертикальные линии в Bash - bashAll Articles