public function __construct(SourceIteratorInterface $source, WriterInterface $writer) { $this->source = $source; $this->writer = $writer; }