wip-feat: adds download message queue logic
This commit is contained in:
19
src/Download/Action/Command/DownloadMediaCommand.php
Normal file
19
src/Download/Action/Command/DownloadMediaCommand.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Download\Action\Command;
|
||||
|
||||
use OneToMany\RichBundle\Contract\CommandInterface;
|
||||
|
||||
/**
|
||||
* @implements CommandInterface<DownloadMediaCommand>
|
||||
*/
|
||||
class DownloadMediaCommand implements CommandInterface
|
||||
{
|
||||
public function __construct(
|
||||
public string $url,
|
||||
public string $title,
|
||||
public string $filename,
|
||||
public string $mediaType,
|
||||
public string $imdbId,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user