return self::TYPE_OPTION_VALUE ===
$this->
getCompletionType() &&
$optionName ===
$this->
getCompletionName();
} public function mustSuggestArgumentValuesFor(string
$argumentName): bool
{ return self::TYPE_ARGUMENT_VALUE ===
$this->
getCompletionType() &&
$argumentName ===
$this->
getCompletionName();
} protected function parseToken(string
$token, bool
$parseOptions): bool
{ try { return parent::
parseToken($token,
$parseOptions);
} catch (RuntimeException
) { // suppress errors, completed input is almost never valid
} return $parseOptions;
} private function getOptionFromToken(string
$optionToken): ?InputOption
{ $optionName =
ltrim($optionToken, '-'
);
if (!
$optionName) {