Skip to content

Commit 0a0fa97

Browse files
authored
Deprecate internal constants (#96)
1 parent b289625 commit 0a0fa97

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Doctrine/Instantiator/Instantiator.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@ final class Instantiator implements InstantiatorInterface
2828
* Markers used internally by PHP to define whether {@see \unserialize} should invoke
2929
* the method {@see \Serializable::unserialize()} when dealing with classes implementing
3030
* the {@see \Serializable} interface.
31+
*
32+
* @deprecated This constant will be private in 2.0
3133
*/
32-
public const SERIALIZATION_FORMAT_USE_UNSERIALIZER = 'C';
34+
public const SERIALIZATION_FORMAT_USE_UNSERIALIZER = 'C';
35+
36+
/** @deprecated This constant will be private in 2.0 */
3337
public const SERIALIZATION_FORMAT_AVOID_UNSERIALIZER = 'O';
3438

3539
/**

0 commit comments

Comments
 (0)