| 1 |
<?php |
| 2 |
|
| 3 |
namespace WPDeveloper\BetterDocs\Dependencies\PhpParser\Node; |
| 4 |
|
| 5 |
use WPDeveloper\BetterDocs\Dependencies\PhpParser\Node; |
| 6 |
|
| 7 |
interface FunctionLike extends Node |
| 8 |
{ |
| 9 |
/** |
| 10 |
* Whether to return by reference |
| 11 |
* |
| 12 |
* @return bool |
| 13 |
*/ |
| 14 |
public function returnsByRef(); |
| 15 |
|
| 16 |
/** |
| 17 |
* List of parameters |
| 18 |
* |
| 19 |
* @return Node\Param[] |
| 20 |
*/ |
| 21 |
public function getParams(); |
| 22 |
|
| 23 |
/** |
| 24 |
* Get the declared return type or null |
| 25 |
* |
| 26 |
* @return null|string|Node\Name|Node\NullableType |
| 27 |
*/ |
| 28 |
public function getReturnType(); |
| 29 |
|
| 30 |
/** |
| 31 |
* The function body |
| 32 |
* |
| 33 |
* @return Node\Stmt[] |
| 34 |
*/ |
| 35 |
public function getStmts(); |
| 36 |
} |
| 37 |
|