Remove "internal" annotation from datacollector serialization methods
This commit is contained in:
parent
eb2a18ece1
commit
3c8fd2072f
@ -228,9 +228,6 @@ class FormDataCollector extends DataCollector implements FormDataCollectorInterf
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
public function serialize()
|
||||
{
|
||||
if ($this->hasVarDumper) {
|
||||
|
@ -40,9 +40,6 @@ abstract class DataCollector implements DataCollectorInterface, \Serializable
|
||||
*/
|
||||
private $cloner;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
public function serialize()
|
||||
{
|
||||
$trace = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2);
|
||||
@ -51,9 +48,6 @@ abstract class DataCollector implements DataCollectorInterface, \Serializable
|
||||
return $isCalledFromOverridingMethod ? $this->data : serialize($this->data);
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
public function unserialize($data)
|
||||
{
|
||||
$this->data = \is_array($data) ? $data : unserialize($data);
|
||||
|
@ -176,9 +176,6 @@ class DumpDataCollector extends DataCollector implements DataDumperInterface
|
||||
$this->clonesIndex = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
public function serialize()
|
||||
{
|
||||
if ($this->clonesCount !== $this->clonesIndex) {
|
||||
@ -198,9 +195,6 @@ class DumpDataCollector extends DataCollector implements DataDumperInterface
|
||||
return $ser;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
public function unserialize($data)
|
||||
{
|
||||
$this->data = unserialize($data);
|
||||
|
Reference in New Issue
Block a user