src/LdapTools/BatchModify/BatchCollection.php
public function add(Batch ...$batches)
    {
        foreach ($batches as $batch) {
            if (!$this->has($batch)) {
                $this->batches[] = $batch;
            }
        }

        return $this;
    }
public function add(Batch ...$batches)
    {
        foreach ($batches as $batch) {
            if (!$this->has($batch)) {
                $this->batches[] = $batch;
            }
        }

        return $this;
    }
public function add ( Batch ... $ batches ) { foreach ( $ batches as $ batch ) { if ( ! $ this -> has ( $ batch ) ) { $ this -> batches [ ] = $ batch ; } } return $ this ; }
Add an individual batch action to the collection.

@param Batch[] ...$batches
@return $this
Add an individual batch action to the collection .