Skip to content

class Athena::ORM::Events::OnClearEventArgs
inherits Athena::ORM::Events::EventArgs #

Emitted by AORM::EntityManager#clear, after every entity has been detached from the unit of work.

AORM::EntityManager#close clears the entity manager too, so it also emits this event. Only the event dispatcher receives it; there is no lifecycle callback for it.

Constructors#

Methods#

#entity_manager : AORM::EntityManagerInterface#

Returns the entity manager that was cleared.

View source