File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -84,18 +84,33 @@ method to return the right project directory::
84
84
}
85
85
}
86
86
87
+ Build Directory
88
+ ~~~~~~~~~~~~~~~
89
+
90
+ **type **: ``string `` **default **: ``$this->getCacheDir() ``
91
+
92
+ This returns the absolute path of a build directory of your Symfony project. This
93
+ directory can be warmed up before deployment and be used as a read-only filesystem
94
+ (ie Docker or AWS Lambda).
95
+
96
+ This value is exposed via the ``kernel.build_dir `` configuration parameter and
97
+ the :method: `Symfony\\ Component\\ HttpKernel\\ Kernel::getBuildDir ` method. To
98
+ change this setting, override the ``getBuildDir() `` method to return the correct
99
+ build directory.
100
+
87
101
Cache Directory
88
102
~~~~~~~~~~~~~~~
89
103
90
104
**type **: ``string `` **default **: ``$this->getProjectDir()/var/cache/$this->environment ``
91
105
92
106
This returns the absolute path of the cache directory of your Symfony project.
93
107
It's calculated automatically based on the current
94
- :ref: `environment <configuration-environments >`.
108
+ :ref: `environment <configuration-environments >`. Data might be written to this path
109
+ at runtime.
95
110
96
111
This value is exposed via the ``kernel.cache_dir `` configuration parameter and
97
112
the :method: `Symfony\\ Component\\ HttpKernel\\ Kernel::getCacheDir ` method. To
98
- change this setting, override the ``getCacheDir() `` method to return the right
113
+ change this setting, override the ``getCacheDir() `` method to return the correct
99
114
cache directory.
100
115
101
116
Log Directory
You can’t perform that action at this time.
0 commit comments