8000 [HtppKernel] deprecated Profiler::import/export · symfony/symfony@b3f3bf9 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3f3bf9

Browse files
committed
[HtppKernel] deprecated Profiler::import/export
1 parent 17e00b9 commit b3f3bf9

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
2.8.0
5+
-----
6+
7+
* deprecated `Profiler::import` and `Profiler::export`
8+
49
2.7.0
510
-----
611

src/Symfony/Component/HttpKernel/Profiler/Profiler.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ public function purge()
137137
* @param Profile $profile A Profile instance
138138
*
139139
* @return string The exported data
140+
*
141+
* @deprecated since Symfony 2.8, to be removed in 3.0.
140142
*/
141143
public function export(Profile $profile)
142144
{
@@ -149,6 +151,8 @@ public function export(Profile $profile)
149151
* @param string $data A data string as exported by the export() method
150152
*
151153
* @return Profile A Profile instance
154+
*
155+
* @deprecated since Symfony 2.8, to be removed in 3.0.
152156
*/
153157
public function import($data)
154158
{

0 commit comments

Comments
 (0)
0