Mercurial > hg > isophonics-drupal-site
annotate vendor/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php @ 2:92f882872392
Trusted hosts, + remove migration modules
author | Chris Cannam |
---|---|
date | Tue, 05 Dec 2017 09:26:43 +0000 |
parents | 4c8ae668cc8c |
children | 5fb285c0d0e3 |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace PhpParser\Node; |
Chris@0 | 4 |
Chris@0 | 5 use PhpParser\Node; |
Chris@0 | 6 |
Chris@0 | 7 interface FunctionLike extends Node |
Chris@0 | 8 { |
Chris@0 | 9 /** |
Chris@0 | 10 * Whether to return by reference |
Chris@0 | 11 * |
Chris@0 | 12 * @return bool |
Chris@0 | 13 */ |
Chris@0 | 14 public function returnsByRef(); |
Chris@0 | 15 |
Chris@0 | 16 /** |
Chris@0 | 17 * List of parameters |
Chris@0 | 18 * |
Chris@0 | 19 * @return Node\Param[] |
Chris@0 | 20 */ |
Chris@0 | 21 public function getParams(); |
Chris@0 | 22 |
Chris@0 | 23 /** |
Chris@0 | 24 * Get the declared return type or null |
Chris@0 | 25 * |
Chris@0 | 26 * @return null|string|Node\Name|Node\NullableType |
Chris@0 | 27 */ |
Chris@0 | 28 public function getReturnType(); |
Chris@0 | 29 |
Chris@0 | 30 /** |
Chris@0 | 31 * The function body |
Chris@0 | 32 * |
Chris@0 | 33 * @return Node\Stmt[] |
Chris@0 | 34 */ |
Chris@0 | 35 public function getStmts(); |
Chris@0 | 36 } |