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