How to get all users that has reacted to a post ?
antonkomarev opened this issue · comments
How to get all users that has reacted to a post ?
Originally posted by @alkaou in #125 (comment)
$reactions = $post->viaLoveReactant()->getReactions();
foreach ($reactions as $reaction) {
$user = $reaction->getReacter()->getReactable();
dump($user);
}