PHP 인터페이스 PhpParser\Node\FunctionLike

상속: extends PhpParser\Node
파일 보기 프로젝트 열기: nikic/PHP-Parser 0 사용 예제들

공개 메소드들

메소드 설명
getParams ( ) : Param[] List of parameters
getReturnType ( ) : null | string | Name | NullableType Get the declared return type or null
getStmts ( ) : PhpParser\Node\Stmt[] The function body
returnsByRef ( ) : boolean Whether to return by reference

메소드 상세

getParams() 공개 메소드

List of parameters
public getParams ( ) : Param[]
리턴 Param[]

getReturnType() 공개 메소드

Get the declared return type or null
public getReturnType ( ) : null | string | Name | NullableType
리턴 null | string | Name | NullableType

getStmts() 공개 메소드

The function body
public getStmts ( ) : PhpParser\Node\Stmt[]
리턴 PhpParser\Node\Stmt[]

returnsByRef() 공개 메소드

Whether to return by reference
public returnsByRef ( ) : boolean
리턴 boolean