*/ class DeleteMediaFileInput implements InputInterface { public function __construct( #[SourceRequest('filename')] public string $filename, #[SourceRequest('downloadId', nullify: true)] public ?int $downloadId = null, ) {} public function toCommand(): CommandInterface { return new DeleteMediaFileCommand( $this->filename, $this->downloadId, ); } }