Answer the question
In order to leave comments, you need to log in
How to check if an ActiveRecord instance conforms to a specific interface?
For example, there is such an ActiveRecord
class User extends \yii\db\ActiveRecord {
public function rules(){
return[
[
'first_name',
'last_name',
'login'
],
'string'
];
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question