We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efc8f5d commit a3ee7dbCopy full SHA for a3ee7db
Caster/Caster.php
@@ -36,6 +36,8 @@ class Caster
36
public const PREFIX_VIRTUAL = "\0~\0";
37
public const PREFIX_DYNAMIC = "\0+\0";
38
public const PREFIX_PROTECTED = "\0*\0";
39
+ // usage: sprintf(Caster::PATTERN_PRIVATE, $class, $property)
40
+ public const PATTERN_PRIVATE = "\0%s\0%s";
41
42
/**
43
* Casts objects to arrays and adds the dynamic property prefix.
0 commit comments