original_string: public function addNodeType(NodeTypeContract $nodeType)
      {
          if ( ! $this->hasNodeType($nodeType->getKey()))
          {
              $this->put($nodeType->getKey(), $nodeType);
          }
      }
code: public function addNodeType(NodeTypeContract $nodeType)
      {
          if ( ! $this->hasNodeType($nodeType->getKey()))
          {
              $this->put($nodeType->getKey(), $nodeType);
          }
      }
code_tokens: public function addNodeType ( NodeTypeContract $ nodeType ) { if ( ! $ this -> hasNodeType ( $ nodeType -> getKey ( ) ) ) { $ this -> put ( $ nodeType -> getKey ( ) , $ nodeType ) ; } }
docstring: Adds a node type to the bag
  
  @param NodeTypeContract $nodeType
docstring_tokens: Adds a node type to the bag