Skip to content

Commit 3c1d6da

Browse files
Mark some/most implementations of Serializable as @internal
1 parent 990ea0d commit 3c1d6da

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Config/AutowireServiceResource.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,17 @@ public function __toString()
5858
return 'service.autowire.'.$this->class;
5959
}
6060

61+
/**
62+
* @internal
63+
*/
6164
public function serialize()
6265
{
6366
return serialize([$this->class, $this->filePath, $this->autowiringMetadata]);
6467
}
6568

69+
/**
70+
* @internal
71+
*/
6672
public function unserialize($serialized)
6773
{
6874
if (\PHP_VERSION_ID >= 70000) {

Config/ContainerParametersResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ public function __toString()
3939
}
4040

4141
/**
42-
* {@inheritdoc}
42+
* @internal
4343
*/
4444
public function serialize()
4545
{
4646
return serialize($this->parameters);
4747
}
4848

4949
/**
50-
* {@inheritdoc}
50+
* @internal
5151
*/
5252
public function unserialize($serialized)
5353
{

0 commit comments

Comments
 (0)