class Suggestion
Represents a single suggested value.
@author Wouter de Jong <wouter@wouterj.nl>
Hierarchy
- class \Symfony\Component\Console\Completion\Suggestion implements \Symfony\Component\Console\Completion\Stringable
Expanded class hierarchy of Suggestion
7 files declare their use of Suggestion
- Application.php in vendor/
symfony/ console/ Application.php - Command.php in vendor/
symfony/ console/ Command/ Command.php - InputArgument.php in vendor/
composer/ composer/ src/ Composer/ Console/ Input/ InputArgument.php - InputArgument.php in vendor/
symfony/ console/ Input/ InputArgument.php - InputOption.php in vendor/
composer/ composer/ src/ Composer/ Console/ Input/ InputOption.php
File
-
vendor/
symfony/ console/ Completion/ Suggestion.php, line 19
Namespace
Symfony\Component\Console\CompletionView source
class Suggestion implements \Stringable {
public function __construct(string $value, string $description = '') {
}
public function getValue() : string {
return $this->value;
}
public function getDescription() : string {
return $this->description;
}
public function __toString() : string {
return $this->getValue();
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Suggestion::getDescription | public | function | |
Suggestion::getValue | public | function | |
Suggestion::__construct | public | function | |
Suggestion::__toString | public | function |