yii2support
yii2support copied to clipboard
Feature request: Attribute autocomplete for all method when I have overwritten model class
What steps will reproduce the problem?
/**
* This is the model class for table "{{%employee}}".
*
* @property int $id
* @property string $account username
* ...
*/
abstract class UserEntity extends BaseModel{
...
}
class User extends UserEntity{
}
Employee::find()->where(['id']);//Attribute autocomplete for "where" is invalid.
What is the expected result?
What do you get instead?
Additional info
| Q | A |
|---|---|
| IDE Name | PhpStorm |
| IDE Version | |
| Plugin version | v0.10.57.23 |
| Yii App Template | basic / advanced |