Ver Fonte

Merge pull request #414 from chrisjohnson00/patch-1

Update doc/tree.md
Gediminas Morkevicius há 12 anos atrás
pai
commit
3881e19cc9
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      doc/tree.md

+ 2 - 2
doc/tree.md

@@ -542,10 +542,10 @@ $repo = $em->getRepository('Entity\Category');
 $htmlTree = $repo->childrenHierarchy(
     null, /* starting from root nodes */
     false, /* load all children, not only direct */
-    true, /* render html */
     array(
         'decorate' => true,
-        'representationField' => 'slug'
+        'representationField' => 'slug',
+        'html' => true
     )
 );
 ```