Browse Source

Add autoload example to the package repository docs for clarity

Jordi Boggiano 13 năm trước cách đây
mục cha
commit
48f66f66fb
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      doc/05-repositories.md

+ 3 - 0
doc/05-repositories.md

@@ -252,6 +252,9 @@ Here is an example for the smarty template engine:
                         "url": "http://smarty-php.googlecode.com/svn/",
                         "type": "svn",
                         "reference": "tags/Smarty_3_1_7/distribution/"
+                    },
+                    "autoload": {
+                        "classmap": ["libs/"]
                     }
                 }
             }