Skip to content

Commit

Permalink
Add class associated with events
Browse files Browse the repository at this point in the history
  • Loading branch information
Koc committed Sep 4, 2016
1 parent 28db53e commit 9a12f78
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Event/Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ final class Events
*
* @note This event is the same for new and old entities.
*
* @Event
* @Event("Vich\UploaderBundle\Event\Event")
*/
const PRE_UPLOAD = 'vich_uploader.pre_upload';

Expand All @@ -23,35 +23,35 @@ final class Events
*
* @note This event is the same for new and old entities.
*
* @Event
* @Event("Vich\UploaderBundle\Event\Event")
*/
const POST_UPLOAD = 'vich_uploader.post_upload';

/**
* Triggered before a file is injected into an entity.
*
* @Event
* @Event("Vich\UploaderBundle\Event\Event")
*/
const PRE_INJECT = 'vich_uploader.pre_inject';

/**
* Triggered after a file is injected into an entity.
*
* @Event
* @Event("Vich\UploaderBundle\Event\Event")
*/
const POST_INJECT = 'vich_uploader.post_inject';

/**
* Triggered before a file is removed.
*
* @Event
* @Event("Vich\UploaderBundle\Event\Event")
*/
const PRE_REMOVE = 'vich_uploader.pre_remove';

/**
* Triggered after a file is removed.
*
* @Event
* @Event("Vich\UploaderBundle\Event\Event")
*/
const POST_REMOVE = 'vich_uploader.post_remove';
}

0 comments on commit 9a12f78

Please sign in to comment.