wip: adds preference & preference_option tables

This commit is contained in:
2025-04-28 08:50:51 -05:00
parent 883442225f
commit 7045116b56
14 changed files with 483 additions and 6 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace App\User\Action\Handler;
use App\User\Action\Command\SaveUserMediaPreferencesCommand;
use App\User\Action\Result\SaveUserMediaPreferencesResult;
use OneToMany\RichBundle\Contract\CommandInterface as C;
use OneToMany\RichBundle\Contract\HandlerInterface;
use OneToMany\RichBundle\Contract\ResultInterface as R;
/** @implements HandlerInterface<SaveUserMediaPreferencesCommand> */
class SaveUserMediaPreferencesHandler implements HandlerInterface
{
public function handle(C $command): R
{
return new SaveUserMediaPreferencesResult('Success');
}
}