protected function listImport(OutputInterface $output)
    {
        $table = new Table($output);

        foreach ((new ImportQuery)->find() as $import) {
            $table->addRow([
                $import->getRef(),
                $import->getTitle(),
                $import->getDescription()
            ]);
        }

        $table
            ->setHeaders([
                'Reference',
                'Title',
                'Description'
            ])
            ->render()
        ;
    }
protected function listImport(OutputInterface $output)
    {
        $table = new Table($output);

        foreach ((new ImportQuery)->find() as $import) {
            $table->addRow([
                $import->getRef(),
                $import->getTitle(),
                $import->getDescription()
            ]);
        }

        $table
            ->setHeaders([
                'Reference',
                'Title',
                'Description'
            ])
            ->render()
        ;
    }
protected function listImport ( OutputInterface $ output ) { $ table = new Table ( $ output ) ; foreach ( ( new ImportQuery ) -> find ( ) as $ import ) { $ table -> addRow ( [ $ import -> getRef ( ) , $ import -> getTitle ( ) , $ import -> getDescription ( ) ] ) ; } $ table -> setHeaders ( [ 'Reference' , 'Title' , 'Description' ] ) -> render ( ) ; }
Output available imports

@param \Symfony\Component\Console\Output\OutputInterface $output An output interface
Output available imports