class HasLifecycleCallbacks extends Annotation (View source)

Must be set on a document class to instruct Doctrine to check for lifecycle callback annotations on public methods.