original_string: public function removeBindings($id)
      {
          if ($this->hasDefinition($id)) {
              foreach ($this->getDefinition($id)->getBindings() as $key => $binding) {
                  list(, $bindingId) = $binding->getValues();
                  $this->removedBindingIds[(int) $bindingId] = true;
              }
          }
      }
code: public function removeBindings($id)
      {
          if ($this->hasDefinition($id)) {
              foreach ($this->getDefinition($id)->getBindings() as $key => $binding) {
                  list(, $bindingId) = $binding->getValues();
                  $this->removedBindingIds[(int) $bindingId] = true;
              }
          }
      }
code_tokens: public function removeBindings ( $ id ) { if ( $ this -> hasDefinition ( $ id ) ) { foreach ( $ this -> getDefinition ( $ id ) -> getBindings ( ) as $ key => $ binding ) { list ( , $ bindingId ) = $ binding -> getValues ( ) ; $ this -> removedBindingIds [ ( int ) $ bindingId ] = true ; } } }
docstring: Removes bindings for a service.
  
  @param string $id The service identifier
  
  @internal
docstring_tokens: Removes bindings for a service .