예제 #1
0
 public function getPhotos()
 {
     return $this->hasMany(GalleryPhoto::className(), ['gallery_id' => 'id']);
 }