Changes
Title
unchanged
MongoDb's embedded documents mapping for ActiveRecord in Yii2
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
yii2, mongodb, CRUD, Forms, model validation
Content
unchanged
[...]
return (isset($this->address['city']))?$this->address['city']:null;
}
```
and call it ```$model->addressCity```