[DI] Fix Cannot declare class ...\DefinitionDecorator, because the name is already in use
This commit is contained in:
parent
f6043bb8f1
commit
530849e4b5
@ -15,15 +15,15 @@ namespace Symfony\Component\DependencyInjection;
|
||||
|
||||
class_exists(ChildDefinition::class);
|
||||
|
||||
return;
|
||||
|
||||
/**
|
||||
* This definition decorates another definition.
|
||||
*
|
||||
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
|
||||
*
|
||||
* @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 Definition
|
||||
{
|
||||
if (false) {
|
||||
/**
|
||||
* This definition decorates another definition.
|
||||
*
|
||||
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
|
||||
*
|
||||
* @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 Definition
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user