for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Smalot\Github\Webhook\Event;
/**
* Class IssuesEvent
* @package Smalot\Github\Webhook\Event
*
* Triggered when an issue is assigned, unassigned, labeled, unlabeled, opened, closed, or reopened.
*/
class IssuesEvent extends EventBase
{
* @return string
public function getEventName()
return 'issues';
}
public function getAction()
return $this->payload['action'];
* @return array
public function getIssue()
return $this->payload['issue'];
public function getAssignee()
return $this->payload['assignee'];
public function getLabel()
return $this->payload['label'];