original_string: public function removeBundle($bundle)
      {
          $bundles = $this->getBundles();
          if (($key = array_search($this->getBundleString($bundle), $bundles)) !== false) {
              unset($bundles[$key]);
              $this->setBundles($bundles);
          }
      }
code: public function removeBundle($bundle)
      {
          $bundles = $this->getBundles();
          if (($key = array_search($this->getBundleString($bundle), $bundles)) !== false) {
              unset($bundles[$key]);
              $this->setBundles($bundles);
          }
      }
code_tokens: public function removeBundle ( $ bundle ) { $ bundles = $ this -> getBundles ( ) ; if ( ( $ key = array_search ( $ this -> getBundleString ( $ bundle ) , $ bundles ) ) !== false ) { unset ( $ bundles [ $ key ] ) ; $ this -> setBundles ( $ bundles ) ; } }
docstring: Remove bundle from kernal.
  
  @param string $bundle
docstring_tokens: Remove bundle from kernal .