You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @deprecated since Symfony 7.4, use Application::addCommand() instead
164
-
*/
165
-
publicfunctionadd(Command$command): ?Command
166
-
{
167
-
trigger_deprecation('symfony/framework-bundle', '7.4', 'The "%s()" method is deprecated and will be removed in Symfony 8.0, use "%s::addCommand()" instead.', __METHOD__, self::class);
Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Application.php
-10Lines changed: 0 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -531,16 +531,6 @@ public function addCommands(array $commands): void
531
531
}
532
532
}
533
533
534
-
/**
535
-
* @deprecated since Symfony 7.4, use Application::addCommand() instead
536
-
*/
537
-
publicfunctionadd(Command$command): ?Command
538
-
{
539
-
trigger_deprecation('symfony/console', '7.4', 'The "%s()" method is deprecated and will be removed in Symfony 8.0, use "%s::addCommand()" instead.', __METHOD__, self::class);
0 commit comments