for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Smalot\Github\Webhook\Event;
/**
* Class CreateEvent
* @package Smalot\Github\Webhook\Event
*
* Represents a created repository, branch, or tag.
* Note: webhooks will not receive this event for created repositories.
*/
class CreateEvent extends EventBase
{
* @return string
public function getEventName()
return 'create';
}
public function getRefType()
return $this->payload['ref_type'];
public function getRef()
return $this->payload['ref'];
public function getMasterBranch()
return $this->payload['master_branch'];
public function getDescription()
return $this->payload['description'];