src/Support/Collection/NodeSet.php
/**
     * Appends an item to the set if it doesn't already exsist in the set.
     *
     * @param TValue $item
     */
Appends an item to the set if it doesn't already exsist in the set.
Appends an item to the set if it doesn ' t already exsist in the set .
public function append(Node $item): void
    {
        if ($this->cache->contains($item)) {
            return;
        }
        $this->list[] = $item;
        $this->cache->attach($item);
        ++$this->length;
    }
public function append ( Node $ item ) : void { if ( $ this -> cache -> contains ( $ item ) ) { return ; } $ this -> list [ ] = $ item ; $ this -> cache -> attach ( $ item ) ; ++ $ this -> length ; }
Appends an item to the set if it doesn't already exsist in the set.
Appends an item to the set if it doesn ' t already exsist in the set .