public function getEntityNamespaces() {
        return array_reduce($this->get(), function($carry, $item) {
            $carry[$item->table['name']] = $item->getName();
            return $carry;
        }, []);
    }
public function getEntityNamespaces() {
        return array_reduce($this->get(), function($carry, $item) {
            $carry[$item->table['name']] = $item->getName();
            return $carry;
        }, []);
    }
public function getEntityNamespaces ( ) { return array_reduce ( $ this -> get ( ) , function ( $ carry , $ item ) { $ carry [ $ item -> table [ 'name' ] ] = $ item -> getName ( ) ; return $ carry ; } , [ ] ) ; }
returns all namespaces of managed entities

@return array
returns all namespaces of managed entities