Uploaded image for project: 'Doctrine Common'
  1. Doctrine Common
  2. DCOM-33

Allow to register callbacks in the EventManager

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Event System
    • Security Level: All
    • Labels:
      None

      Activity

      beberlei Benjamin Eberlei created issue -
      Hide
      beberlei Benjamin Eberlei added a comment -

      Consider to add a second queue for callbacks. Its not possible to simulate this by doing something like:

      public function addCallbackListener($event, Closure $callback)
      {
          $eventListener = new stdClass();
          $eventListener->$event = $callback;
          $this->addEventListener($event, $eventListener);
      }
      

      sad

      Show
      beberlei Benjamin Eberlei added a comment - Consider to add a second queue for callbacks. Its not possible to simulate this by doing something like: public function addCallbackListener($event, Closure $callback) { $eventListener = new stdClass(); $eventListener->$event = $callback; $ this ->addEventListener($event, $eventListener); } sad
      beberlei Benjamin Eberlei made changes -
      Field Original Value New Value
      Workflow jira [ 12271 ] jira-feedback2 [ 17855 ]
      beberlei Benjamin Eberlei made changes -
      Workflow jira-feedback2 [ 17855 ] jira-feedback3 [ 19818 ]

      This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

      • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={expand=changesets[0:20].revisions[0:29],reviews, query=DCOM-33}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

        People

        • Assignee:
          beberlei Benjamin Eberlei
          Reporter:
          beberlei Benjamin Eberlei
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated: