Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 354ccdc commit a14517dCopy full SHA for a14517d
1 file changed
docs/en/reference/configuration.rst
@@ -79,6 +79,13 @@ Or if you prefer YAML:
79
$config = Setup::createYAMLMetadataConfiguration($paths, $isDevMode);
80
$entityManager = EntityManager::create($dbParams, $config);
81
82
+.. note::
83
+ If you want to use yml mapping you should add yaml dependency to your `composer.json`:
84
+
85
+ ::
86
87
+ "symfony/yaml": "*"
88
89
Inside the ``Setup`` methods several assumptions are made:
90
91
- If `$isDevMode` is true caching is done in memory with the ``ArrayCache``. Proxy objects are recreated on every request.
0 commit comments