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

Commitc2f4492

Browse files
bug#41218 [DependencyInjection] Update loader’s directory when calling ContainerConfigurator::withPath (MatTheCat)
This PR was merged into the 5.2 branch.Discussion----------[DependencyInjection] Update loader’s directory when calling ContainerConfigurator::withPath| Q | A| ------------- | ---| Branch? | 5.2| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets |Fix#40990| License | MIT| Doc PR | N/ACommits-------e973541 Update loader’s directory when calling ContainerConfigurator::withPath
2 parents26a6468 +e973541 commitc2f4492

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ final public function withPath(string $path): self
7878
{
7979
$clone =clone$this;
8080
$clone->path =$clone->file =$path;
81+
$clone->loader->setCurrentDir(\dirname($path));
8182

8283
return$clone;
8384
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp