[DI] prepare for signature change in 4.0
This commit is contained in:
parent
879c9129b7
commit
c4b6e2014c
@ -17,6 +17,8 @@ use Symfony\Component\DependencyInjection\Definition;
|
||||
* Null dumper, negates any proxy code generation for any given service definition.
|
||||
*
|
||||
* @author Marco Pivetta <ocramius@gmail.com>
|
||||
*
|
||||
* @final since version 3.4
|
||||
*/
|
||||
class NullDumper implements DumperInterface
|
||||
{
|
||||
@ -31,7 +33,7 @@ class NullDumper implements DumperInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getProxyFactoryCode(Definition $definition, $id)
|
||||
public function getProxyFactoryCode(Definition $definition, $id, $methodName = null)
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ class DummyProxyDumper implements ProxyDumper
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getProxyFactoryCode(Definition $definition, $id)
|
||||
public function getProxyFactoryCode(Definition $definition, $id, $methodName = null)
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user