Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 246e081

Browse files
committed
documentation: add __toString method description on what to expect when calling that method
Signed-off-by: Maximilian Bösing <[email protected]>
1 parent f93f3f1 commit 246e081

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Console/Input/InputInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
*
2020
* @author Fabien Potencier <[email protected]>
2121
*
22-
* @method string __toString()
22+
* @method string __toString() Returns a stringified representation of the args passed to the command.
23+
* InputArguments MUST be escaped as well as the InputOption values passed to the command.
2324
*/
2425
interface InputInterface
2526
{

0 commit comments

Comments
 (0)