app\models\User::getLastfmSessionKeyAttribute PHP Method

getLastfmSessionKeyAttribute() public method

Get the user's Last.fm session key.
public getLastfmSessionKeyAttribute ( ) : string | null
return string | null The key if found, or null if user isn't connected to Last.fm
    public function getLastfmSessionKeyAttribute()
    {
        return $this->getPreference('lastfm_session_key');
    }