for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by Graham Owens ([email protected])
* Company: PartFire Ltd (www.partfire.co.uk)
* Console: Discovery
*
* User: gra
* Date: 21/01/17
* Time: 00:37
* Project: PartFire MangoPay Bundle
* File: MangoPayWebhookEvent.php
**/
namespace PartFire\MangoPayBundle\Event;
use PartFire\CommonBundle\Services\Output\CommonOutputInterface;
use PartFire\MangoPayBundle\Entity\Hook;
use Symfony\Component\EventDispatcher\Event;
class MangoPayWebhookEvent extends Event
{
const NAME = 'partfire.mangopay.new_webhook';
private $output;
private $hook;
private $dto;
* @return mixed
*/
public function getHook() : Hook
return $this->hook;
}
* @param mixed $hook
public function setHook(Hook $hook)
$this->hook = $hook;
public function getOutput() : CommonOutputInterface
return $this->output;
* @param mixed $output
public function setOutput(CommonOutputInterface $output)
$this->output = $output;
public function getDto()
return $this->dto;
* @param mixed $dto
public function setDto($dto)
$this->dto = $dto;