Skip to content

[QUESTION] Events #12

@ElGigi

Description

@ElGigi

Hi,

How manage events on domain object with Atlas.Transit ?
In Atlas.ORM, we have MapperEvents class.

For example, if i have a File domain class, when i create this object, it will be interesting to have a callback when insert performed to move a physical file...

The approach can be:

  • Domain classes implements an interface with a method "event(TransitEvent $event)"
  • Annotations

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions