'datetime', ]; /** * The accessors to append to the model's array form. * @var array */ protected $appends = [ 'profile_photo_url', ]; public function orangePills() { return $this->hasMany(OrangePill::class); } public function meetups() { return $this->belongsToMany(Meetup::class); } public function reputations() { return $this->morphMany('QCod\Gamify\Reputation', 'subject'); } }