Home
last modified time | relevance | path

Searched refs:PUBLIC (Results 1 – 25 of 46) sorted by relevance

12

/PHP-Parser/test/PhpParser/
H A DModifiersTest.php10 $this->assertSame('public', Modifiers::toString(Modifiers::PUBLIC));
16 Modifiers::toString(Modifiers::PUBLIC | Modifiers::PROTECTED);
/PHP-Parser/test/PhpParser/Node/Stmt/
H A DClassTest.php81 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 Dproperty_promotion.test31 flags: PUBLIC (1)
40 flags: PUBLIC (1)
95 flags: PUBLIC | READONLY (65)
113 flags: PUBLIC (1)
141 flags: PUBLIC (1)
H A Dabstract.test25 flags: PUBLIC (1)
39 flags: PUBLIC | ABSTRACT (17)
H A Dproperty_hooks.test38 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 Dsimple.test66 flags: PUBLIC (1)
124 flags: PUBLIC (1)
138 flags: PUBLIC | STATIC (9)
166 flags: PUBLIC | FINAL (33)
H A DpropertyTypes.test27 flags: PUBLIC (1)
83 flags: PUBLIC | STATIC | READONLY (73)
H A Dinterface.test28 flags: PUBLIC (1)
H A DstaticType.test23 flags: PUBLIC | STATIC (9)
H A Danonymous.test39 flags: PUBLIC (1)
95 flags: PUBLIC (1)
172 flags: PUBLIC (1)
H A Dproperty_modifiers.test26 flags: PUBLIC | FINAL (33)
H A DconstModifiers.test44 flags: PUBLIC (1)
H A Dmodifier_error.test21 flags: PUBLIC (1)
56 flags: PUBLIC | PROTECTED (3)
/PHP-Parser/lib/PhpParser/
H A DModifiers.php10 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 DTraitTest.php30 $prop = new Stmt\Property(Modifiers::PUBLIC, [
82 new Property(Modifiers::PUBLIC, [new PropertyItem('foo')]),
83 new Property(Modifiers::PUBLIC, [new PropertyItem('bar')]),
H A DPropertyTest.php60 Modifiers::PUBLIC,
113 Modifiers::PUBLIC,
149 Modifiers::PUBLIC,
H A DClassConstTest.php64 Modifiers::PUBLIC
96 Modifiers::PUBLIC,
/PHP-Parser/test/code/parser/stmt/function/
H A DdisjointNormalFormTypes.test27 flags: PUBLIC (1)
66 flags: PUBLIC | READONLY (65)
H A DintersectionTypes.test26 flags: PUBLIC (1)
H A DunionTypes.test26 flags: PUBLIC (1)
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DClassConst.php49 return ($this->flags & Modifiers::PUBLIC) !== 0
H A DProperty.php51 return ($this->flags & Modifiers::PUBLIC) !== 0
/PHP-Parser/lib/PhpParser/Builder/
H A DProperty.php44 $this->flags = BuilderHelpers::addModifier($this->flags, Modifiers::PUBLIC);
213 $this->flags !== 0 ? $this->flags : Modifiers::PUBLIC,
H A DMethod.php37 $this->flags = BuilderHelpers::addModifier($this->flags, Modifiers::PUBLIC);
/PHP-Parser/lib/PhpParser/Node/
H A DParam.php75 return (bool) ($this->flags & Modifiers::PUBLIC);

Completed in 20 milliseconds

12