File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/Core/Bridge/Symfony/Bundle/Command Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 31
31
use PhpParser \Parser \Php7 ;
32
32
use PhpParser \PrettyPrinter \Standard ;
33
33
use SebastianBergmann \Diff \Differ ;
34
+ use Symfony \Component \Console \Attribute \AsCommand ;
34
35
use Symfony \Component \Console \Command \Command ;
35
36
use Symfony \Component \Console \Input \InputInterface ;
36
37
use Symfony \Component \Console \Input \InputOption ;
37
38
use Symfony \Component \Console \Output \OutputInterface ;
38
39
40
+ #[AsCommand(name: 'api:upgrade-resource ' )]
39
41
final class UpgradeApiResourceCommand extends Command
40
42
{
43
+ /**
44
+ * @deprecated To be removed along with Symfony < 6.1 compatibility
45
+ */
41
46
protected static $ defaultName = 'api:upgrade-resource ' ;
42
47
43
48
private $ resourceNameCollectionFactory ;
You can’t perform that action at this time.
0 commit comments