浏览代码

updated doc

Johannes Schmitt 14 年之前
父节点
当前提交
1449e5dd4a
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      Resources/doc/index.rst

+ 15 - 0
Resources/doc/index.rst

@@ -32,6 +32,21 @@ Then register the bundle with your kernel::
         // ...
     );
 
+This bundle also requires the Metadata library::
+
+    git submodule add https://github.com/schmittjoh/metadata.git vendor/metadata
+
+Make sure that you also register the namespaces with the autoloader::
+
+    // app/autoload.php
+    $loader->registerNamespaces(array(
+        // ...
+        'JMS'              => __DIR__.'/../vendor/bundles',
+        'Metadata'         => __DIR__.'/../vendor/metadata/src',
+        // ...
+    ));    
+
+
 Configuration
 -------------
 Below is the default configuration, you don't need to change it unless it doesn't