Parcourir la source

[Tree] Materialized Path: Added some more documentation

comfortablynumb il y a 13 ans
Parent
commit
5a1ce011cc
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 0
      README.md
  2. 1 1
      doc/tree.md

+ 1 - 0
README.md

@@ -97,6 +97,7 @@ List of extensions which support ODM
 - Timestampable
 - Timestampable
 - Loggable
 - Loggable
 - Translator
 - Translator
+- Tree (Materialized Path strategy for now)
 
 
 All these extensions can be nested together and mapped in traditional ways - annotations,
 All these extensions can be nested together and mapped in traditional ways - annotations,
 xml or yaml
 xml or yaml

+ 1 - 1
doc/tree.md

@@ -988,7 +988,7 @@ $fruits->setParent($food);
 $em->persist($fruits);
 $em->persist($fruits);
 $em->flush();
 $em->flush();
 
 
-// This would print "Food-1,Fruits-2" assuming that $food id is 1, $fruits id is 2 and separator = "|" (the default value)
+// This would print "Food-1,Fruits-2" assuming that $food id is 1, $fruits id is 2 and separator = "," (the default value)
 echo $fruits->getPath();
 echo $fruits->getPath();
 
 
 ```
 ```