Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion "Alter" events
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bernhard Schussek  
View profile  
 More options Nov 7 2012, 6:16 am
From: Bernhard Schussek <bschus...@gmail.com>
Date: Wed, 7 Nov 2012 12:16:20 +0100
Local: Wed, Nov 7 2012 6:16 am
Subject: Re: [symfony-devs] "Alter" events

Hi Larry,

Currently, Symfony distinguishes between these sorts of events as you said,
by providing mutable or immutable event objects. If an event object is
immutable, the event is clearly an "info" event. If the event object is
mutable, it would be an "alter" event.

For example, GetResponseEvent [1] in HttpKernel is an "alter" event,
while PostResponseEvent [2] is an "info" event.

I don't think you need a more sophisticated pattern than that.

Cheers,
Bernhard

[1]
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/...
[2]
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.