Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 70) sorted by relevance

123

/PHP-Parser/lib/PhpParser/Builder/
H A DFunctionLike.php11 protected array $params = []; variable in PhpParser\\Builder\\FunctionLike
41 $this->params[] = $param;
53 public function addParams(array $params) { argument
54 foreach ($params as $param) {
/PHP-Parser/test/code/parser/stmt/function/
H A DnullFalseTrueTypes.test18 params: array(
33 params: array(
48 params: array(
73 params: array(
88 params: array(
103 params: array(
H A DreturnTypes.test18 params: array(
31 params: array(
46 params: array(
61 params: array(
H A DbyRef.test16 params: array(
43 params: array(
H A Dvariadic.test17 params: array(
58 params: array(
99 params: array(
142 params: array(
H A Dparameters_trailing_comma.test16 params: array(
67 params: array(
115 params: array(
H A Dexit_die_function.test17 params: array(
57 params: array(
H A DneverType.test14 params: array(
/PHP-Parser/test/code/parser/stmt/class/
H A DimplicitPublic.test67 params: array(
80 params: array(
94 params: array(
108 params: array(
122 params: array(
H A Dproperty_hooks.test57 params: array(
75 params: array(
111 params: array(
125 params: array(
155 params: array(
167 params: array(
195 params: array(
213 params: array(
284 params: array(
350 params: array(
[all …]
H A DstaticMethod.test26 params: array(
59 params: array(
92 params: array(
125 params: array(
158 params: array(
191 params: array(
H A Dabstract.test30 params: array(
44 params: array(
H A Dsimple.test129 params: array(
143 params: array(
171 params: array(
187 params: array(
201 params: array(
H A Dphp4Style.test47 params: array(
61 params: array(
/PHP-Parser/test/code/formatPreservation/
H A DemptyListInsertion.test38 $stmts[0]->params[] = new Node\Param(new Node\Expr\Variable('a'));
39 $stmts[0]->params[] = new Node\Param(new Node\Expr\Variable('b'));
40 $stmts[1]->stmts[0]->params[] = new Node\Param(new Node\Expr\Variable('a'));
41 $stmts[1]->stmts[0]->params[] = new Node\Param(new Node\Expr\Variable('b'));
42 $stmts[2]->expr->params[] = new Node\Param(new Node\Expr\Variable('a'));
43 $stmts[2]->expr->params[] = new Node\Param(new Node\Expr\Variable('b'));
46 $stmts[3]->expr->params[] = new Node\Param(new Node\Expr\Variable('a'));
47 $stmts[3]->expr->params[] = new Node\Param(new Node\Expr\Variable('b'));
H A DmodifierChange.test45 $stmts[0]->params[0]->flags = Stmt\Class_::MODIFIER_PRIVATE;
46 $stmts[0]->params[1]->flags = 0;
47 $stmts[0]->params[2]->flags = Stmt\Class_::MODIFIER_PUBLIC;
H A DlistRemoval.test16 array_pop($stmts[0]->params);
31 array_pop($stmts[0]->params);
32 $stmts[0]->params[] = new Node\Param(new Expr\Variable('x'));
33 $stmts[0]->params[] = new Node\Param(new Expr\Variable('y'));
/PHP-Parser/test/code/parser/expr/
H A Dclosure.test19 params: array(
53 params: array(
88 params: array(
115 params: array(
144 params: array(
159 params: array(
190 params: array(
H A Darrow_function.test21 params: array(
51 params: array(
81 params: array(
109 params: array(
137 params: array(
179 params: array(
195 params: array(
242 params: array(
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DArrowFunction.php17 public array $params = []; variable in PhpParser\\Node\\Expr\\ArrowFunction
48 $this->params = $subNodes['params'] ?? [];
63 return $this->params;
H A DClosure.php16 public array $params; variable in PhpParser\\Node\\Expr\\Closure
51 $this->params = $subNodes['params'] ?? [];
67 return $this->params;
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DFunction_.php14 public array $params; variable in PhpParser\\Node\\Stmt\\Function_
47 $this->params = $subNodes['params'] ?? [];
62 return $this->params;
H A DClassMethod.php17 public array $params; variable in PhpParser\\Node\\Stmt\\ClassMethod
71 $this->params = $subNodes['params'] ?? [];
86 return $this->params;
/PHP-Parser/lib/PhpParser/Node/
H A DPropertyHook.php18 public array $params; variable in PhpParser\\Node\\PropertyHook
44 $this->params = $subNodes['params'] ?? [];
53 return $this->params;
/PHP-Parser/test/code/parser/stmt/
H A Dattributes.test92 params: array(
139 params: array(
262 params: array(
293 params: array(
323 params: array(
354 params: array(

Completed in 96 milliseconds

123