original_string: private function _saveDropdownOptions($property, $request)
      {
          if (null !== $request->get('dropdown-options')) {
              $property->propertyDropdownOptions()->delete();
  
              foreach ($request->get('dropdown-options') as $key => $val) {
                  if ($key == '__RANDOM_STRING__') {
                      continue;
                  }
  
                  $property->propertyDropdownOptions()->create($val);
              }
          }
      }
code: private function _saveDropdownOptions($property, $request)
      {
          if (null !== $request->get('dropdown-options')) {
              $property->propertyDropdownOptions()->delete();
  
              foreach ($request->get('dropdown-options') as $key => $val) {
                  if ($key == '__RANDOM_STRING__') {
                      continue;
                  }
  
                  $property->propertyDropdownOptions()->create($val);
              }
          }
      }
code_tokens: private function _saveDropdownOptions ( $ property , $ request ) { if ( null !== $ request -> get ( 'dropdown-options' ) ) { $ property -> propertyDropdownOptions ( ) -> delete ( ) ; foreach ( $ request -> get ( 'dropdown-options' ) as $ key => $ val ) { if ( $ key == '__RANDOM_STRING__' ) { continue ; } $ property -> propertyDropdownOptions ( ) -> create ( $ val ) ; } } }
docstring: Save Property Dropdown Field options
  
  @param \AvoRed\Framework\Models\Database\Property $proerty
  @param \AvoRed\Ecommerce\Http\Request\PropertyRequest $request
  
  @return void
docstring_tokens: Save Property Dropdown Field options