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