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

Commitff793fe

Browse files
committed
Mark \Symfony\Component\Translation\Translator::doLoadCatalogue internal
It was made protected to allow the FrameworkBundle's Translator toextend it, but it should not be extended in userland.
1 parentbccbe64 commitff793fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/Symfony/Component/Translation/Translator.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,9 @@ private function getCatalogueCachePath($locale)
395395
return$this->cacheDir.'/catalogue.'.$locale.'.'.strtr(substr(base64_encode(hash('sha256',serialize($this->fallbackLocales),true)),0,7),'/','_').'.php';
396396
}
397397

398+
/**
399+
* @internal
400+
*/
398401
protectedfunctiondoLoadCatalogue($locale):void
399402
{
400403
$this->catalogues[$locale] =newMessageCatalogue($locale);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp