File tree Expand file tree Collapse file tree 5 files changed +17
-17
lines changed
DependencyInjection/CompilerPass Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 23
23
24
24
class MakeCommandRegistrationPass implements CompilerPassInterface
25
25
{
26
- const MAKER_TAG = 'maker.command ' ;
26
+ public const MAKER_TAG = 'maker.command ' ;
27
27
28
28
public function process (ContainerBuilder $ container )
29
29
{
Original file line number Diff line number Diff line change 16
16
*/
17
17
final class EntityRelation
18
18
{
19
- const MANY_TO_ONE = 'ManyToOne ' ;
20
- const ONE_TO_MANY = 'OneToMany ' ;
21
- const MANY_TO_MANY = 'ManyToMany ' ;
22
- const ONE_TO_ONE = 'OneToOne ' ;
19
+ public const MANY_TO_ONE = 'ManyToOne ' ;
20
+ public const ONE_TO_MANY = 'OneToMany ' ;
21
+ public const MANY_TO_MANY = 'ManyToMany ' ;
22
+ public const ONE_TO_ONE = 'OneToOne ' ;
23
23
24
24
private $ type ;
25
25
Original file line number Diff line number Diff line change 47
47
*/
48
48
final class MakeAuthenticator extends AbstractMaker
49
49
{
50
- const AUTH_TYPE_EMPTY_AUTHENTICATOR = 'empty-authenticator ' ;
51
- const AUTH_TYPE_FORM_LOGIN = 'form-login ' ;
50
+ private const AUTH_TYPE_EMPTY_AUTHENTICATOR = 'empty-authenticator ' ;
51
+ private const AUTH_TYPE_FORM_LOGIN = 'form-login ' ;
52
52
53
53
private $ fileManager ;
54
54
Original file line number Diff line number Diff line change 35
35
*/
36
36
final class ClassSourceManipulator
37
37
{
38
- const CONTEXT_OUTSIDE_CLASS = 'outside_class ' ;
39
- const CONTEXT_CLASS = 'class ' ;
40
- const CONTEXT_CLASS_METHOD = 'class_method ' ;
38
+ private const CONTEXT_OUTSIDE_CLASS = 'outside_class ' ;
39
+ private const CONTEXT_CLASS = 'class ' ;
40
+ private const CONTEXT_CLASS_METHOD = 'class_method ' ;
41
41
42
42
private $ overwrite ;
43
43
private $ useAnnotations ;
Original file line number Diff line number Diff line change 24
24
*/
25
25
class YamlSourceManipulator
26
26
{
27
- const EMPTY_LINE_PLACEHOLDER_VALUE = '__EMPTY_LINE__ ' ;
28
- const COMMENT_PLACEHOLDER_VALUE = '__COMMENT__ ' ;
27
+ public const EMPTY_LINE_PLACEHOLDER_VALUE = '__EMPTY_LINE__ ' ;
28
+ public const COMMENT_PLACEHOLDER_VALUE = '__COMMENT__ ' ;
29
29
30
- const UNSET_KEY_FLAG = '__MAKER_VALUE_UNSET ' ;
31
- const ARRAY_FORMAT_MULTILINE = 'multi ' ;
32
- const ARRAY_FORMAT_INLINE = 'inline ' ;
30
+ public const UNSET_KEY_FLAG = '__MAKER_VALUE_UNSET ' ;
31
+ public const ARRAY_FORMAT_MULTILINE = 'multi ' ;
32
+ public const ARRAY_FORMAT_INLINE = 'inline ' ;
33
33
34
- const ARRAY_TYPE_SEQUENCE = 'sequence ' ;
35
- const ARRAY_TYPE_HASH = 'hash ' ;
34
+ public const ARRAY_TYPE_SEQUENCE = 'sequence ' ;
35
+ public const ARRAY_TYPE_HASH = 'hash ' ;
36
36
37
37
/**
38
38
* @var LoggerInterface|null
You can’t perform that action at this time.
0 commit comments