for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Smalot\Github\Webhook\Event;
/**
* Class DeploymentEvent
* @package Smalot\Github\Webhook\Event
*
* Represents a deployment.
* Events of this type are not visible in timelines, they are only used to trigger hooks.
*/
class DeploymentEvent extends EventBase
{
* @return string
public function getEventName()
return 'deployment';
}
* @return array
public function getDeployment()
return $this->payload['deployment'];