-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] introduce __toString
method
annotation to InputInterface
#42056
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
fedb755
e59336d
f93f3f1
246e081
7516c10
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,9 @@ | |
* InputInterface is the interface implemented by all input classes. | ||
* | ||
* @author Fabien Potencier <fabien@symfony.com> | ||
* | ||
* @method string __toString() Returns a stringified representation of the args passed to the command. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. AFAIK if someone does not implement this method, a deprecation is thrown. I would like to have a test case which asserts this deprecation (a missing implementation) and has the "@group legacy". Not sure I missed sth. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll see how to achieved that. Thanks for clarification. |
||
* InputArguments MUST be escaped as well as the InputOption values passed to the command. | ||
derrabus marked this conversation as resolved.
Show resolved
Hide resolved
|
||
*/ | ||
interface InputInterface | ||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.