Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPostComments()
 {
     return $this->hasMany(PostComment::className(), ['comment_post_id' => 'id']);
 }