Skip to content

Commit

Permalink
[Console] added deprecation annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jfsimon committed Mar 1, 2013
1 parent f95f8e2 commit 5bf2f71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Symfony/Component/Console/Input/StringInput.php
Expand Up @@ -33,6 +33,8 @@ class StringInput extends ArgvInput
* @param string $input An array of parameters from the CLI (in the argv format)
* @param InputDefinition $definition A InputDefinition instance
*
* @deprecated The second argument is deprecated as it does not work (will be removed in 3.0), use 'bind' method instead
*
* @api
*/
public function __construct($input, InputDefinition $definition = null)
Expand Down

0 comments on commit 5bf2f71

Please sign in to comment.