Searched refs:traits (Results 1 – 17 of 17) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | TraitUse.php | 9 public array $traits; variable in PhpParser\\Node\\Stmt\\TraitUse 20 public function __construct(array $traits, array $adaptations = [], array $attributes = []) { argument 22 $this->traits = $traits;
|
/PHP-Parser/lib/PhpParser/Builder/ |
H A D | TraitUse.php | 12 protected array $traits = []; variable in PhpParser\\Builder\\TraitUse 21 public function __construct(...$traits) { argument 22 foreach ($traits as $trait) { 35 $this->traits[] = BuilderHelpers::normalizeName($trait); 63 return new Stmt\TraitUse($this->traits, $this->adaptations);
|
H A D | TraitUseAdaptation.php | 94 public function insteadof(...$traits) { argument 107 foreach ($traits as $trait) {
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | TraitUseTest.php | 9 protected function createTraitUseBuilder(...$traits) { argument 10 return new TraitUse(...$traits);
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | trait.test | 60 traits: array( 69 traits: array( 106 traits: array(
|
H A D | shortEchoAsIdentifier.test | 24 traits: array(
|
H A D | anonymous.test | 128 traits: array(
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 89 public function useTrait(...$traits): Builder\TraitUse { argument 90 return new Builder\TraitUse(...$traits);
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | listRemoval.test | 213 unset($stmts[0]->stmts[0]->traits[0]);
|
/PHP-Parser/doc/component/ |
H A D | Name_resolution.markdown | 27 * Declarations of functions, classes, interfaces, traits, enums and global constants will have a
|
H A D | AST_builders.markdown | 18 * classes, interfaces, traits and enums
|
/PHP-Parser/test/code/parser/ |
H A D | semiReserved.test | 372 traits: array(
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 150 foreach ($node->traits as &$trait) {
|
/PHP-Parser/test/code/parser/errorHandling/ |
H A D | recovery.test | 658 traits: array( 667 traits: array(
|
/PHP-Parser/ |
H A D | UPGRADE-3.0.md | 34 takes an array of subnodes. Unlike classes/interfaces, traits can only have a `stmts` subnode.
|
H A D | CHANGELOG.md | 393 * Fixed position information for traits/interfaces preceded by if statement (#738). 1085 takes an array of subnodes. Unlike classes/interfaces, traits can only have a `stmts` subnode.
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 812 return 'use ' . $this->pCommaSeparated($node->traits)
|
Completed in 37 milliseconds