__construct() public method

public __construct ( Iterator $records, RecordCollection $previousCollection = null )
$records Iterator
$previousCollection RecordCollection
Ejemplo n.º 1
0
 public function __construct(RecordCollection $records, ImportSpecification $specification)
 {
     parent::__construct($records, $records);
     $this->specification = $specification;
 }
Ejemplo n.º 2
0
 public function __construct(\Iterator $providerRecords, ProviderResource $resource)
 {
     parent::__construct($providerRecords);
     $this->resource = $resource;
 }
Ejemplo n.º 3
0
 public function __construct(\Iterator $records, RecordCollection $previousCollection, Mapping $mapping)
 {
     parent::__construct($records, $previousCollection);
     $this->mapping = $mapping;
 }