comparison vendor/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children 5fb285c0d0e3
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2
3 namespace PhpParser\Node;
4
5 use 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 }