You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand the impementation of the givePoint method in the trait hasReputation
Where is this method increment implemented or where do I need to implement it ?
thank you in advance
/**
* Give point to a user
*
* @param int $point
* @return HasReputations
*/
public function addPoint($point = 1)
{
$this->increment($this->getReputationField(), $point);
ReputationChanged::dispatch($this, $point, true);
return $this;
}
The text was updated successfully, but these errors were encountered:
Hi,
thanks for the package, really useful.
I'm trying to understand the impementation of the
givePoint
method in the traithasReputation
Where is this method
increment
implemented or where do I need to implement it ?thank you in advance
The text was updated successfully, but these errors were encountered: