src/LdapTools/BatchModify/BatchCollection.php
public function has(Batch $batch)
    {
        foreach ($this->batches as $batchItem) {
            if ($batchItem === $batch) {
                return true;
            }
        }
        return false;
    }
public function has(Batch $batch)
    {
        foreach ($this->batches as $batchItem) {
            if ($batchItem === $batch) {
                return true;
            }
        }
        return false;
    }
public function has ( Batch $ batch ) { foreach ( $ this -> batches as $ batchItem ) { if ( $ batchItem === $ batch ) { return true ; } } return false ; }
Check if a specific batch index exists.

@param Batch $batch
@return bool
Check if a specific batch index exists .