Skip to content

Commit

Permalink
Merge pull request #732 from Haehnchen/patch/event-annotation
Browse files Browse the repository at this point in the history
add @event annotation to let IDEs known event names and class instance
  • Loading branch information
makasim committed May 5, 2016
2 parents 0a7932e + 00c3088 commit aee2865
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ImagineEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@

interface ImagineEvents
{
/**
* @Event("Liip\ImagineBundle\Events\CacheResolveEvent")
*/
const PRE_RESOLVE = 'liip_imagine.pre_resolve';

/**
* @Event("Liip\ImagineBundle\Events\CacheResolveEvent")
*/
const POST_RESOLVE = 'liip_imagine.post_resolve';
}

0 comments on commit aee2865

Please sign in to comment.