File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ final class EventPriorities
30
30
const POST_VALIDATE = 63 ;
31
31
const PRE_WRITE = 33 ;
32
32
const POST_WRITE = 31 ;
33
+ const PRE_SERIALIZE = 17 ;
34
+ const POST_SERIALIZE = 15 ;
33
35
const PRE_RESPOND = 9 ;
34
36
// kernel.response
35
37
const POST_RESPOND = 0 ;
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ public function testConstants()
31
31
$ this ->assertEquals (63 , EventPriorities::POST_VALIDATE );
32
32
$ this ->assertEquals (33 , EventPriorities::PRE_WRITE );
33
33
$ this ->assertEquals (31 , EventPriorities::POST_WRITE );
34
+ $ this ->assertEquals (17 , EventPriorities::PRE_SERIALIZE );
35
+ $ this ->assertEquals (15 , EventPriorities::POST_SERIALIZE );
34
36
$ this ->assertEquals (9 , EventPriorities::PRE_RESPOND );
35
37
$ this ->assertEquals (0 , EventPriorities::POST_RESPOND );
36
38
}
You can’t perform that action at this time.
0 commit comments