Skip to content

Commit 70640d0

Browse files
committed
Mark all dispatched event classes as final
1 parent 588890a commit 70640d0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+79
-7
lines changed

src/Symfony/Component/Console/CHANGELOG.md

Lines changed: 1 addition & 0 deletions

src/Symfony/Component/Console/Event/ConsoleCommandEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* Allows to do things before the command is executed, like skipping the command or changing the input.
1616
*
1717
* @author Fabien Potencier <fabien@symfony.com>
18+
*
19+
* @final since Symfony 4.4
1820
*/
1921
class ConsoleCommandEvent extends ConsoleEvent
2022
{

src/Symfony/Component/Console/Event/ConsoleTerminateEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
* Allows to manipulate the exit code of a command after its execution.
2020
*
2121
* @author Francesco Levorato <git@flevour.net>
22+
*
23+
* @final since Symfony 4.4
2224
*/
2325
class ConsoleTerminateEvent extends ConsoleEvent
2426
{

src/Symfony/Component/Form/CHANGELOG.md

Lines changed: 1 addition & 0 deletions

src/Symfony/Component/Form/Event/PostSetDataEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* This event is dispatched at the end of the Form::setData() method.
1818
*
1919
* This event is mostly here for reading data after having pre-populated the form.
20+
*
21+
* @final since Symfony 4.4
2022
*/
2123
class PostSetDataEvent extends FormEvent
2224
{

src/Symfony/Component/Form/Event/PostSubmitEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* once the model and view data have been denormalized.
1919
*
2020
* It can be used to fetch data after denormalization.
21+
*
22+
* @final since Symfony 4.4
2123
*/
2224
class PostSubmitEvent extends FormEvent
2325
{

src/Symfony/Component/Form/Event/PreSetDataEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
* It can be used to:
2020
* - Modify the data given during pre-population;
2121
* - Modify a form depending on the pre-populated data (adding or removing fields dynamically).
22+
*
23+
* @final since Symfony 4.4
2224
*/
2325
class PreSetDataEvent extends FormEvent
2426
{

src/Symfony/Component/Form/Event/PreSubmitEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
* It can be used to:
2020
* - Change data from the request, before submitting the data to the form.
2121
* - Add or remove form fields, before submitting the data to the form.
22+
*
23+
* @final since Symfony 4.4
2224
*/
2325
class PreSubmitEvent extends FormEvent
2426
{

src/Symfony/Component/Form/Event/SubmitEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* transforms back the normalized data to the model and view data.
1919
*
2020
* It can be used to change data from the normalized representation of the data.
21+
*
22+
* @final since Symfony 4.4
2123
*/
2224
class SubmitEvent extends FormEvent
2325
{

src/Symfony/Component/HttpKernel/CHANGELOG.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy