public function getResponsible() { return Endpoint::find()->where(['doc_id' => $this->id, 'type' => Endpoint::TO])->all(); }