Skip to content

Commit ad4d6f7

Browse files
committed
feature #9668 [DepdencyInjection] forgot to add definition of dumped container member variable parameters (cordoval)
This PR was squashed before being merged into the 2.5-dev branch (closes #9668). Discussion ---------- [DepdencyInjection] forgot to add definition of dumped container member variable parameters | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #5408 | License | MIT | Doc PR | n/a this fixes the allowing of access to parameters property of the dumped container Commits ------- 5b02d3f [DepdencyInjection] forgot to add definition of dumped container member variable parameters
2 parents 8b08888 + 5b02d3f commit ad4d6f7

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,8 @@ private function addFrozenConstructor()
803803
{
804804
$code = <<<EOF
805805
806+
private \$parameters;
807+
806808
/**
807809
* Constructor.
808810
*/

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
*/
1717
class ProjectServiceContainer extends Container
1818
{
19+
private $parameters;
20+
1921
/**
2022
* Constructor.
2123
*/

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services11.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
*/
1717
class ProjectServiceContainer extends Container
1818
{
19+
private $parameters;
20+
1921
/**
2022
* Constructor.
2123
*/

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
*/
1717
class ProjectServiceContainer extends Container
1818
{
19+
private $parameters;
20+
1921
/**
2022
* Constructor.
2123
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy