feat: special agreements for disposition
This commit is contained in:
1 parent
4d1ea7aad7
commit
26239488ba
19 files changed
+310
-31
No files matched your search
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Htmx;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class HxTriggerResponse extends Response
|
||||
{
|
||||
public function __construct(string $content, string $trigger)
|
||||
{
|
||||
return parent::__construct($content, Response::HTTP_OK, ['HX-Trigger' => $trigger]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user