Skip to content

Commit 0deda45

Browse files
committed
moved enums to enums.php
1 parent 49a7e6b commit 0deda45

4 files changed

Lines changed: 31 additions & 55 deletions

File tree

src/PhpGenerator/PropertyAccessMode.php

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/PhpGenerator/PropertyHookType.php

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/PhpGenerator/Visibility.php

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,34 @@ enum DumpContext
1919
case Parameter;
2020
case Attribute;
2121
}
22+
23+
24+
/**
25+
* Property access mode.
26+
*/
27+
enum PropertyAccessMode: string
28+
{
29+
case Set = 'set';
30+
case Get = 'get';
31+
}
32+
33+
34+
/**
35+
* Property hook type.
36+
*/
37+
enum PropertyHookType: string
38+
{
39+
case Set = 'set';
40+
case Get = 'get';
41+
}
42+
43+
44+
/**
45+
* Member visibility.
46+
*/
47+
enum Visibility: string
48+
{
49+
case Public = 'public';
50+
case Protected = 'protected';
51+
case Private = 'private';
52+
}

0 commit comments

Comments
 (0)