add block/unblock service

This commit is contained in:
Antonio Ramirez
2016-12-04 23:20:33 +01:00
parent bda69d38af
commit be80b12a03
4 changed files with 35 additions and 4 deletions

View File

@ -14,6 +14,11 @@ class UserEvent extends Event
const EVENT_AFTER_PROFILE_UPDATE = 'afterProfileUpdate';
const EVENT_BEFORE_CONFIRMATION = 'beforeConfirmation';
const EVENT_AFTER_CONFIRMATION = 'afterConfirmation';
const EVENT_BEFORE_UNBLOCK = 'beforeUnblock';
const EVENT_AFTER_UNBLOCK = 'afterUnblock';
const EVENT_BEFORE_BLOCK = 'beforeBlock';
const EVENT_AFTER_BLOCK = 'afterBlock';
protected $user;