Searched refs:PUBLIC (Results 1 – 25 of 46) sorted by relevance
12
/PHP-Parser/test/PhpParser/ |
H A D | ModifiersTest.php | 10 $this->assertSame('public', Modifiers::toString(Modifiers::PUBLIC)); 16 Modifiers::toString(Modifiers::PUBLIC | Modifiers::PROTECTED);
|
/PHP-Parser/test/PhpParser/Node/Stmt/ |
H A D | ClassTest.php | 81 new Property(Modifiers::PUBLIC, [new PropertyItem('foo')]), 82 new Property(Modifiers::PUBLIC, [new PropertyItem('bar')]), 99 $fooProp = new Property(Modifiers::PUBLIC, [new PropertyItem('foo1')]), 100 $barProp = new Property(Modifiers::PUBLIC, [new PropertyItem('BAR1')]), 101 …$fooBarProp = new Property(Modifiers::PUBLIC, [new PropertyItem('foo2'), new PropertyItem('bar2')]…
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | property_promotion.test | 31 flags: PUBLIC (1) 40 flags: PUBLIC (1) 95 flags: PUBLIC | READONLY (65) 113 flags: PUBLIC (1) 141 flags: PUBLIC (1)
|
H A D | abstract.test | 25 flags: PUBLIC (1) 39 flags: PUBLIC | ABSTRACT (17)
|
H A D | property_hooks.test | 38 flags: PUBLIC (1) 176 flags: PUBLIC (1) 263 flags: PUBLIC (1) 279 flags: PUBLIC (1) 288 flags: PUBLIC (1) 331 flags: PUBLIC (1) 383 flags: PUBLIC (1) 450 flags: PUBLIC (1) 464 flags: PUBLIC (1)
|
H A D | simple.test | 66 flags: PUBLIC (1) 124 flags: PUBLIC (1) 138 flags: PUBLIC | STATIC (9) 166 flags: PUBLIC | FINAL (33)
|
H A D | propertyTypes.test | 27 flags: PUBLIC (1) 83 flags: PUBLIC | STATIC | READONLY (73)
|
H A D | interface.test | 28 flags: PUBLIC (1)
|
H A D | staticType.test | 23 flags: PUBLIC | STATIC (9)
|
H A D | anonymous.test | 39 flags: PUBLIC (1) 95 flags: PUBLIC (1) 172 flags: PUBLIC (1)
|
H A D | property_modifiers.test | 26 flags: PUBLIC | FINAL (33)
|
H A D | constModifiers.test | 44 flags: PUBLIC (1)
|
H A D | modifier_error.test | 21 flags: PUBLIC (1) 56 flags: PUBLIC | PROTECTED (3)
|
/PHP-Parser/lib/PhpParser/ |
H A D | Modifiers.php | 10 public const PUBLIC = 1; define in PhpParser\\Modifiers 21 public const VISIBILITY_MASK = self::PUBLIC | self::PROTECTED | self::PRIVATE; 26 self::PUBLIC => 'public',
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | TraitTest.php | 30 $prop = new Stmt\Property(Modifiers::PUBLIC, [ 82 new Property(Modifiers::PUBLIC, [new PropertyItem('foo')]), 83 new Property(Modifiers::PUBLIC, [new PropertyItem('bar')]),
|
H A D | PropertyTest.php | 60 Modifiers::PUBLIC, 113 Modifiers::PUBLIC, 149 Modifiers::PUBLIC,
|
H A D | ClassConstTest.php | 64 Modifiers::PUBLIC 96 Modifiers::PUBLIC,
|
/PHP-Parser/test/code/parser/stmt/function/ |
H A D | disjointNormalFormTypes.test | 27 flags: PUBLIC (1) 66 flags: PUBLIC | READONLY (65)
|
H A D | intersectionTypes.test | 26 flags: PUBLIC (1)
|
H A D | unionTypes.test | 26 flags: PUBLIC (1)
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | ClassConst.php | 49 return ($this->flags & Modifiers::PUBLIC) !== 0
|
H A D | Property.php | 51 return ($this->flags & Modifiers::PUBLIC) !== 0
|
/PHP-Parser/lib/PhpParser/Builder/ |
H A D | Property.php | 44 $this->flags = BuilderHelpers::addModifier($this->flags, Modifiers::PUBLIC); 213 $this->flags !== 0 ? $this->flags : Modifiers::PUBLIC,
|
H A D | Method.php | 37 $this->flags = BuilderHelpers::addModifier($this->flags, Modifiers::PUBLIC);
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | Param.php | 75 return (bool) ($this->flags & Modifiers::PUBLIC);
|
Completed in 20 milliseconds
12