*/ class SaveUserMediaPreferencesInput implements InputInterface { public function __construct( #[SourceSecurity] public mixed $userId, #[SourceRequest('resolution')] public string $resolution, #[SourceRequest('codec')] public string $codec, #[SourceRequest('language')] public string $language, #[SourceRequest('provider')] public string $provider, ) {} public function toCommand(): C { return new SaveUserMediaPreferencesCommand( $this->resolution, $this->codec, $this->language, $this->provider, ); } }