File tree Expand file tree Collapse file tree 2 files changed +2
-40
lines changed
src/Symfony/Component/HttpKernel Expand file tree Collapse file tree 2 files changed +2
-40
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ CHANGELOG
2424 * removed ` Symfony\Component\HttpKernel\HttpCache\EsiResponseCacheStrategyInterface `
2525 * removed ` Symfony\Component\HttpKernel\Log\LoggerInterface `
2626 * removed ` Symfony\Component\HttpKernel\Log\NullLogger `
27+ * removed ` Symfony\Component\HttpKernel\Profiler::import() `
28+ * removed ` Symfony\Component\HttpKernel\Profiler::export() `
2729
28302.8.0
2931-----
Original file line number Diff line number Diff line change @@ -131,46 +131,6 @@ public function purge()
131131 $ this ->storage ->purge ();
132132 }
133133
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-
174134 /**
175135 * Finds profiler tokens for the given criteria.
176136 *
You can’t perform that action at this time.
0 commit comments