浏览代码

Add autoload example to the package repository docs for clarity

Jordi Boggiano 13 年之前
父节点
当前提交
48f66f66fb
共有 1 个文件被更改,包括 3 次插入0 次删除
  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/"]
                     }
                 }
             }