您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
532B

  1. <?php
  2. namespace common\events;
  3. use yii\base\Event;
  4. use yii\base\Model;
  5. class EntityManagerEvent extends Event
  6. {
  7. const PRE_CREATE_EVENT = 'entity_manager_event.pre_create';
  8. const POST_CREATE_EVENT = 'entity_manager_event.post_create';
  9. const PRE_UPDATE_EVENT = 'entity_manager_event.pre_update';
  10. const POST_UPDATE_EVENT = 'entity_manager_event.post_update';
  11. const PRE_DELETE_EVENT = 'entity_manager_event.pre_delete';
  12. const POST_DELETE_EVENT = 'entity_manager_event.post_delete';
  13. public Model $model;
  14. }