From 5bf2f7110f514396b46c2239fa050ad6fa265b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Simon?= Date: Fri, 1 Mar 2013 15:41:25 +0100 Subject: [PATCH] [Console] added deprecation annotation --- src/Symfony/Component/Console/Input/StringInput.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Symfony/Component/Console/Input/StringInput.php b/src/Symfony/Component/Console/Input/StringInput.php index 93b1b83bb1..5a26676d3c 100644 --- a/src/Symfony/Component/Console/Input/StringInput.php +++ b/src/Symfony/Component/Console/Input/StringInput.php @@ -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)