src/Model/AchievementDetails.php
protected function getAchieverClassName($achiever)
    {
        if ($achiever instanceof \Illuminate\Database\Eloquent\Model) {
            return $achiever->getMorphClass();
        }

        return get_class($achiever);
    }
protected function getAchieverClassName($achiever)
    {
        if ($achiever instanceof \Illuminate\Database\Eloquent\Model) {
            return $achiever->getMorphClass();
        }

        return get_class($achiever);
    }
protected function getAchieverClassName ( $ achiever ) { if ( $ achiever instanceof \ Illuminate \ Database \ Eloquent \ Model ) { return $ achiever -> getMorphClass ( ) ; } return get_class ( $ achiever ) ; }
Gets model morph name

@param \Illuminate\Database\Eloquent\Model $achiever
@return string
Gets model morph name