public function DrushInputAdapter::getArgument

master DrushInputAdapter.php public DrushInputAdapter::getArgument($name)

File

lib/Drush/Command/DrushInputAdapter.php, line 117
Definition of Drush\Command\DrushInputAdapter.

Namespace

Drush\Command

Class

DrushInputAdapter
Adapter for Symfony Console InputInterface

Code

public function getArgument($name) {
  // TODO: better to throw if an argument that does not exist is requested?
  return isset($this->arguments[$name]) ? $this->arguments[$name] : '';
}