Skip to content

Commit 3fa9984

Browse files
committed
ClassType: added VISIBILITY_* constants
1 parent f2ff1ac commit 3fa9984

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/PhpGenerator/ClassType.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ final class ClassType
2929
TYPE_INTERFACE = 'interface',
3030
TYPE_TRAIT = 'trait';
3131

32+
public const
33+
VISIBILITY_PUBLIC = 'public',
34+
VISIBILITY_PROTECTED = 'protected',
35+
VISIBILITY_PRIVATE = 'private';
36+
3237
/** @var PhpNamespace|null */
3338
private $namespace;
3439

0 commit comments

Comments
 (0)