/** * Fill all attributes * * @param array $attributes attributes in object * @return void */ public function fill(array $attributes) { parent::fill($attributes); if (isset($attributes['vars'])) { $this->setValueObject($attributes); } }