* 2) We do not want Symfony to attempt to validate our options or arguments
* for us.
*/
-class DrushInputAdapter implements InputInterface {
+class DrushInputAdapter implements InputInterface
+{
protected $arguments;
protected $options;
protected $interactive;
*/
public function getFirstArgument()
{
- return reset($arguments);
+ return reset($this->arguments);
}
/**
* {@inheritdoc}
*/
- public function hasParameterOption($values)
+ public function hasParameterOption($values, $onlyParams = false)
{
$values = (array) $values;
/**
* {@inheritdoc}
*/
- public function getParameterOption($values, $default = false)
+ public function getParameterOption($values, $default = false, $onlyParams = false)
{
$values = (array) $values;