Пример #1
0
 public function getPayment()
 {
     return $this->hasOne(Payment::className(), ['order_id' => 'id']);
 }