Example #1
0
 public function getPhoto()
 {
     return $this->hasOne(WebPhoto::className(), ['id' => 'photo_id']);
 }