Get argument by key.
string $key Key.:
mixed Contents of array key.
\InvalidArgumentException If key is not found.
public function getArgument($key) {
if ($this
->hasArgument($key)) {
return $this->arguments[$key];
}
throw new \InvalidArgumentException(sprintf('%s not found in %s', $key, $this
->getName()));
}