for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Smalot\Github\Webhook\Event;
/**
* Class DeleteEvent
* @package Smalot\Github\Webhook\Event
*
* Represents a deleted branch or tag.
*/
class DeleteEvent extends EventBase
{
* @return string
public function getEventName()
return 'delete';
}
public function getRefType()
return $this->payload['ref_type'];
public function getRef()
return $this->payload['ref'];