minor #22818 [DependencyInjection] prepare for signature change in 4.0 (xabbuh)
This PR was submitted for the 3.4 branch but it was merged into the 3.3 branch instead (closes #22818).
Discussion
----------
[DependencyInjection] prepare for signature change in 4.0
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
see failing tests in #22785
Commits
-------
c4b6e20
[DI] prepare for signature change in 4.0
This commit is contained in:
commit
667efd251e
@ -17,6 +17,8 @@ use Symfony\Component\DependencyInjection\Definition;
|
|||||||
* Null dumper, negates any proxy code generation for any given service definition.
|
* Null dumper, negates any proxy code generation for any given service definition.
|
||||||
*
|
*
|
||||||
* @author Marco Pivetta <ocramius@gmail.com>
|
* @author Marco Pivetta <ocramius@gmail.com>
|
||||||
|
*
|
||||||
|
* @final since version 3.3
|
||||||
*/
|
*/
|
||||||
class NullDumper implements DumperInterface
|
class NullDumper implements DumperInterface
|
||||||
{
|
{
|
||||||
@ -31,7 +33,7 @@ class NullDumper implements DumperInterface
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getProxyFactoryCode(Definition $definition, $id)
|
public function getProxyFactoryCode(Definition $definition, $id, $methodName = null)
|
||||||
{
|
{
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
@ -88,7 +88,7 @@ class DummyProxyDumper implements ProxyDumper
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProxyFactoryCode(Definition $definition, $id)
|
public function getProxyFactoryCode(Definition $definition, $id, $methodName = null)
|
||||||
{
|
{
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user