Skip to content

Commit 3f5af09

Browse files
committed
Deprecate interface Symfony\Component\OptionsResolver\ OptionsResolverInterface
1 parent db40fa9 commit 3f5af09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

OptionsResolverInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
namespace Symfony\Component\OptionsResolver;
1313

14+
trigger_error('The "Symfony\Component\OptionsResolver\OptionsResolverInterface" interface was deprecated in version 2.6 and will be removed in 3.0. Use "Symfony\Component\OptionsResolver\OptionsResolver" instead.', E_USER_DEPRECATED);
15+
1416
use Symfony\Component\OptionsResolver\Exception\InvalidOptionsException;
1517
use Symfony\Component\OptionsResolver\Exception\MissingOptionsException;
1618
use Symfony\Component\OptionsResolver\Exception\OptionDefinitionException;

0 commit comments

Comments
 (0)