public function addNodeType(NodeTypeContract $nodeType)
    {
        if ( ! $this->hasNodeType($nodeType->getKey()))
        {
            $this->put($nodeType->getKey(), $nodeType);
        }
    }
public function addNodeType(NodeTypeContract $nodeType)
    {
        if ( ! $this->hasNodeType($nodeType->getKey()))
        {
            $this->put($nodeType->getKey(), $nodeType);
        }
    }
public function addNodeType ( NodeTypeContract $ nodeType ) { if ( ! $ this -> hasNodeType ( $ nodeType -> getKey ( ) ) ) { $ this -> put ( $ nodeType -> getKey ( ) , $ nodeType ) ; } }
Adds a node type to the bag

@param NodeTypeContract $nodeType
Adds a node type to the bag