Example #1
0
 public function export(InputInterface $input, OutputInterface $output)
 {
     $input->open();
     $output->open();
     while (($entry = $input->read()) !== false) {
         if ($entry !== null) {
             $output->write($entry);
         }
     }
     $input->close();
     $output->close();
 }