src/EntityRelationsAchievements.php
public function achievementStatus(Achievement $achievement)
    {
        return $this->achievements()->where('achievement_id', $achievement->getModel()->id)->first();
    }
public function achievementStatus(Achievement $achievement)
    {
        return $this->achievements()->where('achievement_id', $achievement->getModel()->id)->first();
    }
public function achievementStatus ( Achievement $ achievement ) { return $ this -> achievements ( ) -> where ( 'achievement_id' , $ achievement -> getModel ( ) -> id ) -> first ( ) ; }
Retrieves the status for the specified achievement
@param Achievement $achievement
@return AchievementProgress
Retrieves the status for the specified achievement