Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • AppendIterator
  • ChunkedIterator
  • FilterIterator
  • MapIterator
  • MethodProxyIterator
  • Overview
  • Namespace
  • Class
  • Tree

Class MapIterator

Maps values before yielding

IteratorIterator implements Iterator, Traversable, OuterIterator
Extended by Guzzle\Iterator\MapIterator
Namespace: Guzzle\Iterator
Located at src/Guzzle/Iterator/MapIterator.php
Methods summary
public
# __construct( Traversable $iterator, array|Closure $callback )

Parameters

$iterator
Traversable iterator
$callback
Callback used for iterating

Throws

InvalidArgumentException
if the callback if not callable

Overrides

IteratorIterator::__construct()
public
# current( )

Overrides

IteratorIterator::current()
Methods inherited from IteratorIterator
getInnerIterator(), key(), next(), rewind(), valid()
Properties summary
protected mixed $callback

Callback

Callback

#
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen