/** * @inheritdoc */ public function init() { parent::init(); $this->db = Instance::ensure($this->db, Object::className()); }