code: public function populateLocationOwner()
      {
          $location = $this->location;
          if ($location !== null) {
              $this->country_id = $location->country_id;
              $this->region_id = $location->region_id;
              $this->city_id = $location->city_id;
              $this->state_id = $location->state_id;
              $this->address = $location->address;
              $this->postal_code = $location->postal_code;
              $this->latitude = $location->latitude;
              $this->longitude = $location->longitude;
          }
      }
docs: Populates the fields in the Trait with the ones get from the stored
  Location object.