Symfony 2 中带有 Doctrine 的分层数据


Hierarchical data with Doctrine in Symfony 2

我想知道如何在Symfony 2.3中使用Doctrine设置分层数据。我读到Doctrine提供了一些引擎来管理这种数据 http://docs.doctrine-project.org/projects/doctrine1/en/latest/en/manual/hierarchical-data.html

但我无法在官方文档中阅读有关它的任何内容。在Symfony中有很多关于分层数据的帖子,但也有与Symfony 1.x相关的。

在Symfony 2.3中应该如何完成?

看看这个:教义nestead集就是你要找的!