*/ class SearchInput implements InputInterface { public function __construct( #[SourceQuery('term')] #[SourceRequest('term')] public string $term ){} public function toCommand(): CommandInterface { return new SearchCommand($this->term); } }