'array', 'birthday' => 'date', 'document' => 'array', 'profile' => 'array', ]; /** * The event map for the model. * * @var array */ protected $dispatchesEvents = [ 'creating' => UserCreating::class, ]; // // // ===================================================================== // RELATIONSHIPS // ===================================================================== // // /** * Get the user's category */ public function category() { return $this->belongsTo(UserCategory::class); } // // // ===================================================================== // OTHER METHODS // ===================================================================== // // }