Skip to content

[minor] remove usage of Kernel::$rootDir from docs #12719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 30, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[minor] remove usage of Kernel::$rootDir from docs
  • Loading branch information
jzawadzki authored and javiereguiluz committed Nov 30, 2019
commit 9da96e1c8f5977c22ad04b3e2ab76877a2a68375
4 changes: 2 additions & 2 deletions reference/configuration/kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ method to return the right project directory::
Cache Directory
~~~~~~~~~~~~~~~

**type**: ``string`` **default**: ``$this->rootDir/cache/$this->environment``
**type**: ``string`` **default**: ``$this->getProjectDir()/var/cache/$this->environment``

This returns the absolute path of the cache directory of your Symfony project.
It's calculated automatically based on the current
Expand All @@ -119,7 +119,7 @@ cache directory.
Log Directory
~~~~~~~~~~~~~

**type**: ``string`` **default**: ``$this->rootDir/log``
**type**: ``string`` **default**: ``$this->getProjectDir()/var/log``

.. deprecated:: 4.2

Expand Down