[DI] Fix DefinitionDecorator deprecation layer
This commit is contained in:
parent
4a597bdb37
commit
14c65e3814
@ -14,6 +14,8 @@ namespace Symfony\Component\DependencyInjection;
|
|||||||
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
||||||
use Symfony\Component\DependencyInjection\Exception\OutOfBoundsException;
|
use Symfony\Component\DependencyInjection\Exception\OutOfBoundsException;
|
||||||
|
|
||||||
|
class_alias(ChildDefinition::class, DefinitionDecorator::class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This definition extends another definition.
|
* This definition extends another definition.
|
||||||
*
|
*
|
||||||
|
@ -20,6 +20,4 @@ namespace Symfony\Component\DependencyInjection;
|
|||||||
*
|
*
|
||||||
* @deprecated The DefinitionDecorator class is deprecated since version 3.3 and will be removed in 4.0. Use the Symfony\Component\DependencyInjection\ChildDefinition class instead.
|
* @deprecated The DefinitionDecorator class is deprecated since version 3.3 and will be removed in 4.0. Use the Symfony\Component\DependencyInjection\ChildDefinition class instead.
|
||||||
*/
|
*/
|
||||||
class DefinitionDecorator extends ChildDefinition
|
class_exists(ChildDefinition::class);
|
||||||
{
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user