File tree 2 files changed +2
-40
lines changed
src/Symfony/Component/HttpKernel
2 files changed +2
-40
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ CHANGELOG
24
24
* removed ` Symfony\Component\HttpKernel\HttpCache\EsiResponseCacheStrategyInterface `
25
25
* removed ` Symfony\Component\HttpKernel\Log\LoggerInterface `
26
26
* removed ` Symfony\Component\HttpKernel\Log\NullLogger `
27
+ * removed ` Symfony\Component\HttpKernel\Profiler::import() `
28
+ * removed ` Symfony\Component\HttpKernel\Profiler::export() `
27
29
28
30
2.8.0
29
31
-----
Original file line number Diff line number Diff line change @@ -131,46 +131,6 @@ public function purge()
131
131
$ this ->storage ->purge ();
132
132
}
133
133
134
- /**
135
- * Exports the current profiler data.
136
- *
137
- * @param Profile $profile A Profile instance
138
- *
139
- * @return string The exported data
140
- *
141
- * @deprecated since Symfony 2.8, to be removed in 3.0.
142
- */
143
- public function export (Profile $ profile )
144
- {
145
- @trigger_error ('The ' .__METHOD__ .' method is deprecated since version 2.8 and will be removed in 3.0. ' , E_USER_DEPRECATED );
146
-
147
- return base64_encode (serialize ($ profile ));
148
- }
149
-
150
- /**
151
- * Imports data into the profiler storage.
152
- *
153
- * @param string $data A data string as exported by the export() method
154
- *
155
- * @return Profile A Profile instance
156
- *
157
- * @deprecated since Symfony 2.8, to be removed in 3.0.
158
- */
159
- public function import ($ data )
160
- {
161
- @trigger_error ('The ' .__METHOD__ .' method is deprecated since version 2.8 and will be removed in 3.0. ' , E_USER_DEPRECATED );
162
-
163
- $ profile = unserialize (base64_decode ($ data ));
164
-
165
- if ($ this ->storage ->read ($ profile ->getToken ())) {
166
- return false ;
167
- }
168
-
169
- $ this ->saveProfile ($ profile );
170
-
171
- return $ profile ;
172
- }
173
-
174
134
/**
175
135
* Finds profiler tokens for the given criteria.
176
136
*
You can’t perform that action at this time.
0 commit comments