Exemplo n.º 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSocial()
 {
     return $this->hasMany(Social::className(), ['id_user' => 'id']);
 }