src/Kunstmaan/GeneratorBundle/Helper/InputAssistant.php
private function getNamespaceAutoComplete(Kernel $kernel)
    {
        $ret = array();
        foreach ($kernel->getBundles() as $k => $v) {
            $ret[] = $this->fixNamespace($v->getNamespace());
        }

        return $ret;
    }
private function getNamespaceAutoComplete(Kernel $kernel)
    {
        $ret = array();
        foreach ($kernel->getBundles() as $k => $v) {
            $ret[] = $this->fixNamespace($v->getNamespace());
        }

        return $ret;
    }
private function getNamespaceAutoComplete ( Kernel $ kernel ) { $ ret = array ( ) ; foreach ( $ kernel -> getBundles ( ) as $ k => $ v ) { $ ret [ ] = $ this -> fixNamespace ( $ v -> getNamespace ( ) ) ; } return $ ret ; }
Returns a list of namespaces as array with a forward slash to split the namespace & bundle.

@param Kernel $kernel

@return array
Returns a list of namespaces as array with a forward slash to split the namespace & bundle .