for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Smalot\Github\Webhook\Model;
/**
* Class CreateModel
* @package Smalot\Github\Webhook\Model
*
* Represents a created repository, branch, or tag.
* Note: webhooks will not receive this event for created repositories.
*/
class CreateModel extends ModelBase
{
* @return string
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'];