for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Smalot\Github\Webhook\Event;
/**
* Class FollowEvent
* @package Smalot\Github\Webhook\Event
*
* Triggered when a user follows another user.
* Events of this type are no longer created, but it's possible that they exist in timelines of some users.
*/
class FollowEvent extends EventBase
{
* @return string
public function getEventName()
return 'follow';
}
* @return array
public function getTarget()
return $this->payload['target'];