WIP: Implement role house manager and feedback providing
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Event;
|
||||
|
||||
use App\Entity\Feedback;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
class FeedbackProvidedEvent extends Event
|
||||
{
|
||||
public const NAME = 'feedback.provided';
|
||||
|
||||
public function __construct(private readonly Feedback $feedback)
|
||||
{
|
||||
}
|
||||
|
||||
public function getFeedback(): Feedback
|
||||
{
|
||||
return $this->feedback;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user