LdapTools\BatchModify\BatchCollection::__clone PHP 메소드

__clone() 공개 메소드

When a batch collection is cloned, we want to make sure the batch objects are cloned as well.
public __clone ( )
    public function __clone()
    {
        foreach ($this->batches as $i => $batch) {
            $this->batches[$i] = clone $batch;
        }
    }