Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the style of the event commands
- Loading branch information
1 parent
112c66c
commit 6633cac
Showing
4 changed files
with
45 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 8 additions & 7 deletions
15
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/event_dispatcher_1_event1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<info>[event_dispatcher]</info> Registered listeners for event <info>event1</info> | ||
[33mRegistered Listeners for "event1" Event[39m | ||
[33m=======================================[39m | ||
|
||
+-------+-------------------+ | ||
| Order | Callable | | ||
+-------+-------------------+ | ||
| #1 | global_function() | | ||
| #2 | \Closure() | | ||
+-------+-------------------+ | ||
------- ------------------- ---------- | ||
[32mOrder[39m [32mCallable[39m [32mPriority[39m | ||
------- ------------------- ---------- | ||
#1 global_function() 255 | ||
#2 \Closure() -1 | ||
------- ------------------- ---------- |
33 changes: 19 additions & 14 deletions
33
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/event_dispatcher_1_events.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
<info>[event_dispatcher]</info> Registered listeners by event | ||
[33mRegistered Listeners Grouped by Event[39m | ||
[33m=====================================[39m | ||
|
||
<info>[Event]</info> event1 | ||
+-------+-------------------+ | ||
| Order | Callable | | ||
+-------+-------------------+ | ||
| #1 | global_function() | | ||
| #2 | \Closure() | | ||
+-------+-------------------+ | ||
[33m"event1" event[39m | ||
[33m--------------[39m | ||
|
||
<info>[Event]</info> event2 | ||
+-------+-----------------------------------------------------------------------------------+ | ||
| Order | Callable | | ||
+-------+-----------------------------------------------------------------------------------+ | ||
| #1 | Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass::__invoke() | | ||
+-------+-----------------------------------------------------------------------------------+ | ||
------- ------------------- ---------- | ||
[32mOrder[39m [32mCallable[39m [32mPriority[39m | ||
------- ------------------- ---------- | ||
#1 global_function() 255 | ||
#2 \Closure() -1 | ||
------- ------------------- ---------- | ||
|
||
[33m"event2" event[39m | ||
[33m--------------[39m | ||
|
||
------- ----------------------------------------------------------------------------------- ---------- | ||
[32mOrder[39m [32mCallable[39m [32mPriority[39m | ||
------- ----------------------------------------------------------------------------------- ---------- | ||
#1 Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass::__invoke() 0 | ||
------- ----------------------------------------------------------------------------------- ---------- |