[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/ -> BatchResults.php (summary)

(no description)

File Size: 148 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BatchResults:: (11 methods):
  __construct()
  getKeys()
  getResult()
  getSuccessful()
  getFailures()
  getIterator()
  count()
  offsetExists()
  offsetGet()
  offsetUnset()
  offsetSet()


Class: BatchResults  - X-Ref

Represents the result of a batch operation. This result container is
iterable, countable, and you can can get a result by value using the
getResult function.

Successful results are anything other than exceptions. Failure results are
exceptions.

__construct(\SplObjectStorage $hash)   X-Ref

param: \SplObjectStorage $hash Hash of key objects to result values.

getKeys()   X-Ref
Get the keys that are available on the batch result.

return: array

getResult($forObject)   X-Ref
Gets a result from the container for the given object. When getting
results for a batch of requests, provide the request object.

param: object $forObject Object to retrieve the result for.
return: mixed|null

getSuccessful()   X-Ref
Get an array of successful results.

return: array

getFailures()   X-Ref
Get an array of failed results.

return: array

getIterator()   X-Ref
Allows iteration over all batch result values.

return: \ArrayIterator

count()   X-Ref
Counts the number of elements in the batch result.

return: int

offsetExists($key)   X-Ref
Checks if the batch contains a specific numerical array index.

param: int $key Index to access
return: bool

offsetGet($key)   X-Ref
Allows access of the batch using a numerical array index.

param: int $key Index to access.
return: mixed|null

offsetUnset($key)   X-Ref
No description

offsetSet($key, $value)   X-Ref
No description



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1