Doctrine Common
  1. Doctrine Common
  2. DCOM-33

Allow to register callbacks in the EventManager

    Details

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

      Activity

      Benjamin Eberlei created issue -
      Hide
      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
      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
      Benjamin Eberlei made changes -
      Field Original Value New Value
      Workflow jira [ 12271 ] jira-feedback2 [ 17855 ]
      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={query=DCOM-33, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

        People

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

          Dates

          • Created:
            Updated: