Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 6 commits intosymfony:4.3fromjzawadzki:fix-rootdir
Nov 30, 2019
Merged
Show file tree
Hide file tree
Changes fromall commits
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
4 changes: 2 additions & 2 deletionsreference/configuration/kernel.rst
View file
Open in desktop
Original file line numberDiff line numberDiff 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
2 changes: 1 addition & 1 deletionreference/forms/types/country.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -70,7 +70,7 @@ Overridden Options
choices
~~~~~~~

**default**: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames()``
**default**: ``Symfony\Component\Intl\Countries::getNames()``

The country type defaults the ``choices`` option to the whole list of countries.
The locale is used to translate the countries names.
Expand Down
2 changes: 1 addition & 1 deletionreference/forms/types/currency.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -62,7 +62,7 @@ Overridden Options
choices
~~~~~~~

**default**: ``Symfony\Component\Intl\Intl::getCurrencyBundle()->getCurrencyNames()``
**default**: ``Symfony\Component\Intl\Currencies::getNames()``

The choices option defaults to all currencies.

Expand Down
2 changes: 1 addition & 1 deletionreference/forms/types/language.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,7 +72,7 @@ Overridden Options
choices
~~~~~~~

**default**: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames()``.
**default**: ``Symfony\Component\Intl\Languages::getNames()``.

The choices option defaults to all languages.
The default locale is used to translate the languages names.
Expand Down
2 changes: 1 addition & 1 deletionreference/forms/types/locale.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -73,7 +73,7 @@ Overridden Options
choices
~~~~~~~

**default**: ``Symfony\Component\Intl\Intl::getLocaleBundle()->getLocaleNames()``
**default**: ``Symfony\Component\Intl\Locales::getNames()``

The choices option defaults to all locales. It uses the default locale to
specify the language.
Expand Down
2 changes: 1 addition & 1 deletionsetup.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -237,7 +237,7 @@ stable version. If you want to use an LTS version, add the ``--version`` option:

..code-block::terminal
# use the most recent'lts' version
# use the most recentLTS version
$ symfony new my_project_name --version=lts
# use the 'next' Symfony version to be released (still in development)
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp