@@ -49,39 +49,39 @@ abstract class Application extends Module
49
49
/**
50
50
* @event Event an event raised before the application starts to handle a request.
51
51
*/
52
- const EVENT_BEFORE_REQUEST = 'beforeRequest ' ;
52
+ public const EVENT_BEFORE_REQUEST = 'beforeRequest ' ;
53
53
/**
54
54
* @event Event an event raised after the application successfully handles a request (before the response is sent out).
55
55
*/
56
- const EVENT_AFTER_REQUEST = 'afterRequest ' ;
56
+ public const EVENT_AFTER_REQUEST = 'afterRequest ' ;
57
57
/**
58
58
* Application state used by [[state]]: application just started.
59
59
*/
60
- const STATE_BEGIN = 0 ;
60
+ public const STATE_BEGIN = 0 ;
61
61
/**
62
62
* Application state used by [[state]]: application is initializing.
63
63
*/
64
- const STATE_INIT = 1 ;
64
+ public const STATE_INIT = 1 ;
65
65
/**
66
66
* Application state used by [[state]]: application is triggering [[EVENT_BEFORE_REQUEST]].
67
67
*/
68
- const STATE_BEFORE_REQUEST = 2 ;
68
+ public const STATE_BEFORE_REQUEST = 2 ;
69
69
/**
70
70
* Application state used by [[state]]: application is handling the request.
71
71
*/
72
- const STATE_HANDLING_REQUEST = 3 ;
72
+ public const STATE_HANDLING_REQUEST = 3 ;
73
73
/**
74
74
* Application state used by [[state]]: application is triggering [[EVENT_AFTER_REQUEST]]..
75
75
*/
76
- const STATE_AFTER_REQUEST = 4 ;
76
+ public const STATE_AFTER_REQUEST = 4 ;
77
77
/**
78
78
* Application state used by [[state]]: application is about to send response.
79
79
*/
80
- const STATE_SENDING_RESPONSE = 5 ;
80
+ public const STATE_SENDING_RESPONSE = 5 ;
81
81
/**
82
82
* Application state used by [[state]]: application has ended.
83
83
*/
84
- const STATE_END = 6 ;
84
+ public const STATE_END = 6 ;
85
85
86
86
/**
87
87
* @var string the namespace that controller classes are located in.
0 commit comments