public function getDocuments() { return $this->hasMany(Document::className(), ['category_id' => 'category_id']); }