protected function completedCriteriaFor(Achievement $achievement)
    {
        if (!in_array($achievement->id(), $this->achievementsToCheck)) {
            $this->achievementsToCheck[] = $achievement->id();
        }
    }
protected function completedCriteriaFor(Achievement $achievement)
    {
        if (!in_array($achievement->id(), $this->achievementsToCheck)) {
            $this->achievementsToCheck[] = $achievement->id();
        }
    }
protected function completedCriteriaFor ( Achievement $ achievement ) { if ( ! in_array ( $ achievement -> id ( ) , $ this -> achievementsToCheck ) ) { $ this -> achievementsToCheck [ ] = $ achievement -> id ( ) ; } }
Saves achievement to completeness check list.

@param Achievement $achievement
Saves achievement to completeness check list .