original_string: public function remove(string $name): void
      {
          if ($this->has($name)) {
              unset($this->factories[$name]);
          }
      }
code: public function remove(string $name): void
      {
          if ($this->has($name)) {
              unset($this->factories[$name]);
          }
      }
code_tokens: public function remove ( string $ name ) : void { if ( $ this -> has ( $ name ) ) { unset ( $ this -> factories [ $ name ] ) ; } }
docstring: Remove repository factory.
  
  @param string $name factory name
docstring_tokens: Remove repository factory .