protected function execute(InputInterface $input, OutputInterface $output)
    {
        ini_set('memory_limit', '1024M');
        $reader = new OekobaudatReader();

        $this->store('contact', $reader, $reader->getContactList(), $output);
        $this->store('flow_property', $reader, $reader->getFlowPropertyList(), $output);
        $this->store('process', $reader, $reader->getProcessList(), $output);
        $this->store('source', $reader, $reader->getSourceList(), $output);
        $this->store('unit_group', $reader, $reader->getUnitGroupList(), $output);

        $this->storeFlows($reader, $output);

        //$this->getContainer()->get('beaast.oekobaudat.manager.process')->updateAllfromXml();
        //$this->getContainer()->get('beaast.oekobaudat.manager.flow')->updateAllfromXml();
        //$this->getContainer()->get('beaast.oekobaudat.manager.flow_property')->updateAllfromXml();

        $this->getContainer()->get('beaast.oekobaudat.manager.contact')->updateReferences();
        $this->getContainer()->get('beaast.oekobaudat.manager.flow')->updateReferences();
        $this->getContainer()->get('beaast.oekobaudat.manager.flow_property')->updateReferences();
        $this->getContainer()->get('beaast.oekobaudat.manager.process')->updateReferences();
        $this->getContainer()->get('beaast.oekobaudat.manager.source')->updateReferences();
        $this->getContainer()->get('beaast.oekobaudat.manager.unit_group')->updateReferences();

        return 0;
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        ini_set('memory_limit', '1024M');
        $reader = new OekobaudatReader();

        $this->store('contact', $reader, $reader->getContactList(), $output);
        $this->store('flow_property', $reader, $reader->getFlowPropertyList(), $output);
        $this->store('process', $reader, $reader->getProcessList(), $output);
        $this->store('source', $reader, $reader->getSourceList(), $output);
        $this->store('unit_group', $reader, $reader->getUnitGroupList(), $output);

        $this->storeFlows($reader, $output);

        //$this->getContainer()->get('beaast.oekobaudat.manager.process')->updateAllfromXml();
        //$this->getContainer()->get('beaast.oekobaudat.manager.flow')->updateAllfromXml();
        //$this->getContainer()->get('beaast.oekobaudat.manager.flow_property')->updateAllfromXml();

        $this->getContainer()->get('beaast.oekobaudat.manager.contact')->updateReferences();
        $this->getContainer()->get('beaast.oekobaudat.manager.flow')->updateReferences();
        $this->getContainer()->get('beaast.oekobaudat.manager.flow_property')->updateReferences();
        $this->getContainer()->get('beaast.oekobaudat.manager.process')->updateReferences();
        $this->getContainer()->get('beaast.oekobaudat.manager.source')->updateReferences();
        $this->getContainer()->get('beaast.oekobaudat.manager.unit_group')->updateReferences();

        return 0;
    }
protected function execute ( InputInterface $ input , OutputInterface $ output ) { ini_set ( 'memory_limit' , '1024M' ) ; $ reader = new OekobaudatReader ( ) ; $ this -> store ( 'contact' , $ reader , $ reader -> getContactList ( ) , $ output ) ; $ this -> store ( 'flow_property' , $ reader , $ reader -> getFlowPropertyList ( ) , $ output ) ; $ this -> store ( 'process' , $ reader , $ reader -> getProcessList ( ) , $ output ) ; $ this -> store ( 'source' , $ reader , $ reader -> getSourceList ( ) , $ output ) ; $ this -> store ( 'unit_group' , $ reader , $ reader -> getUnitGroupList ( ) , $ output ) ; $ this -> storeFlows ( $ reader , $ output ) ; //$this->getContainer()->get('beaast.oekobaudat.manager.process')->updateAllfromXml(); //$this->getContainer()->get('beaast.oekobaudat.manager.flow')->updateAllfromXml(); //$this->getContainer()->get('beaast.oekobaudat.manager.flow_property')->updateAllfromXml(); $ this -> getContainer ( ) -> get ( 'beaast.oekobaudat.manager.contact' ) -> updateReferences ( ) ; $ this -> getContainer ( ) -> get ( 'beaast.oekobaudat.manager.flow' ) -> updateReferences ( ) ; $ this -> getContainer ( ) -> get ( 'beaast.oekobaudat.manager.flow_property' ) -> updateReferences ( ) ; $ this -> getContainer ( ) -> get ( 'beaast.oekobaudat.manager.process' ) -> updateReferences ( ) ; $ this -> getContainer ( ) -> get ( 'beaast.oekobaudat.manager.source' ) -> updateReferences ( ) ; $ this -> getContainer ( ) -> get ( 'beaast.oekobaudat.manager.unit_group' ) -> updateReferences ( ) ; return 0 ; }
Execute CLI command

@throws \InvalidArgumentException When namespace doesn't end with Bundle
@throws \RuntimeException         When bundle can't be executed
Execute CLI command