PHP Class Sonata\Exporter\Source\IteratorCallbackSourceIterator

Author: Florent Denis ([email protected])
Inheritance: extends IteratorSourceIterator
Afficher le fichier Open project: sonata-project/exporter Class Usage Examples

Protected Properties

Свойство Type Description
$transformer Closure

Méthodes publiques

Méthode Description
__construct ( Iterator $iterator, Closure $transformer ) Constructor.
current ( )

Method Details

__construct() public méthode

Constructor.
public __construct ( Iterator $iterator, Closure $transformer )
$iterator Iterator Iterator with string array elements
$transformer Closure Altering a data row

current() public méthode

public current ( )

Property Details

$transformer protected_oe property

protected Closure $transformer
Résultat Closure