Skip to content

[Question] #65

@chrisvidal

Description

@chrisvidal

Hi,

thanks for the package, really useful.

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;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions