for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Overtrue\LaravelFollow\Events;
use Overtrue\LaravelFollow\UserFollower;
class Event
{
/**
* @var int|string
*/
public $followingId;
public $followerId;
protected UserFollower $relation;
public function __construct(UserFollower $relation)
$this->relation = $relation;
$this->followerId = $relation->follower_id;
follower_id
Overtrue\LaravelFollow\UserFollower
follower_id;
$this->followingId = $relation->following_id;
following_id
following_id;
}