Details

    • Type: Documentation Documentation
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of caponica:

      Url: https://github.com/doctrine/doctrine2/pull/742

      Message:

      Was a mix-up between TestEventSubscriber and EventTest (e.g. the definition of TestEventSubscriber referenced TestEvent::preFoo, which did not exist). To clarify this I've renamed EventTest to TestEvent.

      Tried to clarify the text in the Naming Convention section.

      Added note that onClear is not a lifecycle callback.

      Tried to clarify the definition of Lifecycle Callbacks.

      Separated key/value descriptions into XML and YAML parts since the details are different

      Added note in Implementing Event Listeners section that since 2.4 you do have access to EntityManager and UnitOfWork from lifecycle callbacks.

      Added example about how to use the computed changeset to modify a primitive value in preUpdate section

      Added naming convention example to Entity listeners class section

      The other changes are typos and small fixes.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-742] was closed:
        https://github.com/doctrine/doctrine2/pull/742

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-742] was closed: https://github.com/doctrine/doctrine2/pull/742
        Show
        Marco Pivetta added a comment - Merged: https://github.com/doctrine/doctrine2/commit/e2a67c2f1c1f2f7e670264c52294968963f3b242

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: