src/Graviton/GeneratorBundle/Command/BundeBundleUnloadCommand.php
private function getContentData($content)
    {
        $res = [];
        $res['startStringPos'] = strpos($content, $this->startString) + strlen($this->startString);
        $res['endStringPos'] = strpos($content, $this->endString);
        $res['bundleList'] = substr($content, $res['startStringPos'], ($res['endStringPos'] - $res['startStringPos']));
        return $res;
    }
private function getContentData($content)
    {
        $res = [];
        $res['startStringPos'] = strpos($content, $this->startString) + strlen($this->startString);
        $res['endStringPos'] = strpos($content, $this->endString);
        $res['bundleList'] = substr($content, $res['startStringPos'], ($res['endStringPos'] - $res['startStringPos']));
        return $res;
    }
private function getContentData ( $ content ) { $ res = [ ] ; $ res [ 'startStringPos' ] = strpos ( $ content , $ this -> startString ) + strlen ( $ this -> startString ) ; $ res [ 'endStringPos' ] = strpos ( $ content , $ this -> endString ) ; $ res [ 'bundleList' ] = substr ( $ content , $ res [ 'startStringPos' ] , ( $ res [ 'endStringPos' ] - $ res [ 'startStringPos' ] ) ) ; return $ res ; }
gets our positions and the bundlelist

@param string $content the bundlebundle content

@return array data
gets our positions and the bundlelist