Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/console/Tester/CommandTester.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
29 private $input; | 29 private $input; |
30 private $output; | 30 private $output; |
31 private $inputs = array(); | 31 private $inputs = array(); |
32 private $statusCode; | 32 private $statusCode; |
33 | 33 |
34 /** | |
35 * Constructor. | |
36 * | |
37 * @param Command $command A Command instance to test | |
38 */ | |
39 public function __construct(Command $command) | 34 public function __construct(Command $command) |
40 { | 35 { |
41 $this->command = $command; | 36 $this->command = $command; |
42 } | 37 } |
43 | 38 |
135 } | 130 } |
136 | 131 |
137 /** | 132 /** |
138 * Sets the user inputs. | 133 * Sets the user inputs. |
139 * | 134 * |
140 * @param array An array of strings representing each input | 135 * @param array $inputs An array of strings representing each input |
141 * passed to the command input stream. | 136 * passed to the command input stream |
142 * | 137 * |
143 * @return CommandTester | 138 * @return CommandTester |
144 */ | 139 */ |
145 public function setInputs(array $inputs) | 140 public function setInputs(array $inputs) |
146 { | 141 { |