PHP 클래스 PhpParser\Node\Stmt\UseUse

상속: extends PhpParser\Node\Stmt
파일 보기 프로젝트 열기: nikic/php-parser 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$alias Alias
$name Namespace, class, function or constant to alias
$type One of the Stmt\Use_::TYPE_* constants. Will only differ from TYPE_UNKNOWN for mixed group uses

공개 메소드들

메소드 설명
__construct ( Name $name, null | string $alias = null, integer $type = Use_::TYPE_UNKNOWN, array $attributes = [] ) Constructs an alias (use) node.
getSubNodeNames ( )

메소드 상세

__construct() 공개 메소드

Constructs an alias (use) node.
public __construct ( Name $name, null | string $alias = null, integer $type = Use_::TYPE_UNKNOWN, array $attributes = [] )
$name PhpParser\Node\Name Namespace/Class to alias
$alias null | string Alias
$type integer Type of the use element (for mixed group use declarations only)
$attributes array Additional attributes

getSubNodeNames() 공개 메소드

public getSubNodeNames ( )

프로퍼티 상세

$alias 공개적으로 프로퍼티

Alias
public $alias

$name 공개적으로 프로퍼티

Namespace, class, function or constant to alias
public $name

$type 공개적으로 프로퍼티

One of the Stmt\Use_::TYPE_* constants. Will only differ from TYPE_UNKNOWN for mixed group uses
public $type