protected function runExport()
    {
        $export_impl = $this->config->getExportImplementor();

        $exporter = new $export_impl();

        if (!$exporter instanceof IExport) {
            throw new \InvalidArgumentException('The given exporter "' . $export_impl . '" must implement IExport.');
        }

        $exporter->setCommand($this);
        $exporter->setReport($this->report);
        $exporter->setParameters(new Parameters($this->config->get('export', array())));

        $exporter->run();
    }
protected function runExport()
    {
        $export_impl = $this->config->getExportImplementor();

        $exporter = new $export_impl();

        if (!$exporter instanceof IExport) {
            throw new \InvalidArgumentException('The given exporter "' . $export_impl . '" must implement IExport.');
        }

        $exporter->setCommand($this);
        $exporter->setReport($this->report);
        $exporter->setParameters(new Parameters($this->config->get('export', array())));

        $exporter->run();
    }
protected function runExport ( ) { $ export_impl = $ this -> config -> getExportImplementor ( ) ; $ exporter = new $ export_impl ( ) ; if ( ! $ exporter instanceof IExport ) { throw new \ InvalidArgumentException ( 'The given exporter "' . $ export_impl . '" must implement IExport.' ) ; } $ exporter -> setCommand ( $ this ) ; $ exporter -> setReport ( $ this -> report ) ; $ exporter -> setParameters ( new Parameters ( $ this -> config -> get ( 'export' , array ( ) ) ) ) ; $ exporter -> run ( ) ; }
Runs the export with the collected report from the checks.
Runs the export with the collected report from the checks .