Example #1
0
 protected function initialize()
 {
     static::$properties = array_replace(static::$properties, self::$billingProperties);
     static::$hidden = array_merge(static::$hidden, ['stripe_customer', 'not_charged', 'last_trial_reminder']);
     parent::initialize();
     self::creating([get_called_class(), 'notChargedGuard']);
 }
 protected function initialize()
 {
     parent::initialize();
     static::updated([get_called_class(), 'passwordChanged']);
 }