1 <?php declare(strict_types=1);
3 namespace PhpParser\Node;
7 interface FunctionLike extends Node
10 * Whether to return by reference
14 public function returnsByRef() : bool;
19 * @return Node\Param[]
21 public function getParams() : array;
24 * Get the declared return type or null
26 * @return null|Identifier|Node\Name|Node\NullableType
28 public function getReturnType();
33 * @return Node\Stmt[]|null
35 public function getStmts();