PHP 클래스 PhpParser\Node\Param

상속: extends PhpParser\NodeAbstract
파일 보기 프로젝트 열기: nikic/PHP-Parser

공개 프로퍼티들

프로퍼티 타입 설명
$byRef Whether parameter is passed by reference
$default Default value
$name Name
$type Typehint
$variadic Whether this is a variadic argument

공개 메소드들

메소드 설명
__construct ( string $name, Expr $default = null, null | string | Name | NullableType $type = null, boolean $byRef = false, boolean $variadic = false, array $attributes = [] ) Constructs a parameter node.
getSubNodeNames ( )

메소드 상세

__construct() 공개 메소드

Constructs a parameter node.
public __construct ( string $name, Expr $default = null, null | string | Name | NullableType $type = null, boolean $byRef = false, boolean $variadic = false, array $attributes = [] )
$name string Name
$default Expr Default value
$type null | string | Name | NullableType Typehint
$byRef boolean Whether is passed by reference
$variadic boolean Whether this is a variadic argument
$attributes array Additional attributes

getSubNodeNames() 공개 메소드

public getSubNodeNames ( )

프로퍼티 상세

$byRef 공개적으로 프로퍼티

Whether parameter is passed by reference
public $byRef

$default 공개적으로 프로퍼티

Default value
public $default

$name 공개적으로 프로퍼티

Name
public $name

$type 공개적으로 프로퍼티

Typehint
public $type

$variadic 공개적으로 프로퍼티

Whether this is a variadic argument
public $variadic