Please what are the replacements for the following in Yii2
-
array()
-
CDbCriteria()
-
findByPk()
Please what are the replacements for the following in Yii2
array()
CDbCriteria()
findByPk()
array() is a PHP variable type. You can use that or [], but there’s no replacement for it.
ActiveQuery
findOne()