We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ef0625 commit 8982867Copy full SHA for 8982867
console.rst
@@ -57,6 +57,10 @@ want a command to create a user::
57
// or return this if some error happened during the execution
58
// (it's equivalent to returning int(1))
59
// return Command::FAILURE;
60
+
61
+ // or return this if there was invalid value during the execution
62
+ // (it's equivalent to returning int(2))
63
+ // return Command::INVALID
64
}
65
66
@@ -65,6 +69,10 @@ want a command to create a user::
69
The ``Command::SUCCESS`` and ``Command::FAILURE`` constants were introduced
70
in Symfony 5.1.
67
71
72
+.. versionadded:: 5.3
73
74
+ The ``Command::INVALID`` constants was introduced in Symfony 5.3
75
68
76
Configuring the Command
77
-----------------------
78
0 commit comments