Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试确定文档将在 Doctrine PHPCR ODM 中获得的“未来”路径,但我不知道该怎么做。我也找不到任何明确的文档...
有人可以帮我确定文档/节点的存储路径吗?
我的错,我使用了错误的顺序......
您可以通过首先使用 Document::setParent() 设置父级,然后使用 Document::getParent()::getId() 将所有侦听器 / 验证器 / 放在后面来找出文档的路径。