Ejemplo n.º 1
0
 /**
  * @get task type
  */
 public function getTaskType()
 {
     return $this->hasOne(TaskType::className(), ['id' => 'type_id']);
 }