/** * Get the other or associated key for the relationship. * * @return string */ protected function other_key() { return Relationship::foreign($this->model, $this->other); }