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

validateBatchIndexExists() 보호된 메소드

Checks to make sure that the index actually exists.
protected validateBatchIndexExists ( integer $index )
$index integer
    protected function validateBatchIndexExists($index)
    {
        if (!isset($this->batches[$index])) {
            throw new InvalidArgumentException(sprintf('Batch index "%s" does not exist.', $index));
        }
    }