[Console] added deprecation annotation

This commit is contained in:
Jean-François Simon 2013-03-01 15:41:25 +01:00
parent f95f8e2a3b
commit 5bf2f7110f

View File

@ -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)