1 | <?php |
||
11 | class Csv implements PipeInterface |
||
12 | { |
||
13 | use IdentificationTrait; |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $id; |
||
18 | /** |
||
19 | * @var \SplFileObject |
||
20 | */ |
||
21 | private $file; |
||
22 | /** |
||
23 | * @var array |
||
24 | */ |
||
25 | private $header; |
||
26 | |||
27 | 2 | public function __construct(string $id, \SplFileObject $file, array $header) |
|
33 | |||
34 | 2 | public function pass(DataBagInterface $dataBag): DataBagInterface |
|
51 | } |
||
52 |