Skip to content

Commit b23c9a3

Browse files
committed
minor symfony#16839 [PropertyAccess] minor: constants as internal and removed unused var (dunglas)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes symfony#16839). Discussion ---------- [PropertyAccess] minor: constants as internal and removed unused var | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 6c9bb86 [PropertyAccess] minor: constants as internal and removed unused var
2 parents c2cad23 + 6c9bb86 commit b23c9a3

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

src/Symfony/Component/PropertyAccess/PropertyAccessor.php

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,69 @@
2121
*/
2222
class PropertyAccessor implements PropertyAccessorInterface
2323
{
24+
/**
25+
* @internal
26+
*/
2427
const VALUE = 0;
28+
29+
/**
30+
* @internal
31+
*/
2532
const IS_REF = 1;
33+
34+
/**
35+
* @internal
36+
*/
2637
const ACCESS_HAS_PROPERTY = 0;
38+
39+
/**
40+
* @internal
41+
*/
2742
const ACCESS_TYPE = 1;
43+
44+
/**
45+
* @internal
46+
*/
2847
const ACCESS_NAME = 2;
48+
49+
/**
50+
* @internal
51+
*/
2952
const ACCESS_REF = 3;
53+
54+
/**
55+
* @internal
56+
*/
3057
const ACCESS_ADDER = 4;
58+
59+
/**
60+
* @internal
61+
*/
3162
const ACCESS_REMOVER = 5;
63+
64+
/**
65+
* @internal
66+
*/
3267
const ACCESS_TYPE_METHOD = 0;
68+
69+
/**
70+
* @internal
71+
*/
3372
const ACCESS_TYPE_PROPERTY = 1;
73+
74+
/**
75+
* @internal
76+
*/
3477
const ACCESS_TYPE_MAGIC = 2;
78+
79+
/**
80+
* @internal
81+
*/
3582
const ACCESS_TYPE_ADDER_AND_REMOVER = 3;
83+
84+
/**
85+
* @internal
86+
*/
3687
const ACCESS_TYPE_NOT_FOUND = 4;
3788

3889
private $magicCall;

0 commit comments

Comments
 (0)