mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 11:03:17 +00:00
18 lines
337 B
PHP
18 lines
337 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\Webhook\Processor;
|
|
|
|
use Alchemy\Phrasea\Model\Entities\WebhookEvent;
|
|
|
|
class SubdefEventProcessor implements ProcessorInterface
|
|
{
|
|
|
|
public function process(WebhookEvent $event)
|
|
{
|
|
return [
|
|
'event' => $event->getName(),
|
|
'data' => $event->getData()
|
|
];
|
|
}
|
|
}
|