for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CodeCloud\Bundle\ShopifyBundle\Event;
use Symfony\Component\EventDispatcher\Event;
class WebhookEvent extends Event
{
const NAME = 'codecloud_shopify.webhook';
/**
* @var string
*/
private $topic;
private $store;
* @var array
private $resource;
* @param string $topic
* @param string $store
* @param array $resource
public function __construct(string $topic, string $store, array $resource)
$this->topic = $topic;
$this->store = $store;
$this->resource = $resource;
}
* @return string
public function getTopic(): string
return $this->topic;
public function getStore(): string
return $this->store;
* @return array
public function getResource(): array
return $this->resource;