PHP 클래스 PhpParser\Node\Stmt\Class_

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

공개 프로퍼티들

프로퍼티 타입 설명
$extends Name of extended class
$flags Type
$implements Names of implemented interfaces
$type

보호된 프로퍼티들

프로퍼티 타입 설명
$specialNames

공개 메소드들

메소드 설명
__construct ( string | null $name, array $subNodes = [], array $attributes = [] ) Constructs a class node.
getSubNodeNames ( )
isAbstract ( )
isAnonymous ( )
isFinal ( )
verifyModifier ( $a, $b )

메소드 상세

__construct() 공개 메소드

Constructs a class node.
public __construct ( string | null $name, array $subNodes = [], array $attributes = [] )
$name string | null Name
$subNodes array Array of the following optional subnodes: 'flags' => 0 : Flags 'extends' => null : Name of extended class 'implements' => array(): Names of implemented interfaces 'stmts' => array(): Statements
$attributes array Additional attributes

getSubNodeNames() 공개 메소드

public getSubNodeNames ( )

isAbstract() 공개 메소드

public isAbstract ( )

isAnonymous() 공개 메소드

public isAnonymous ( )

isFinal() 공개 메소드

public isFinal ( )

verifyModifier() 공개 정적인 메소드

public static verifyModifier ( $a, $b )

프로퍼티 상세

$extends 공개적으로 프로퍼티

Name of extended class
public $extends

$flags 공개적으로 프로퍼티

Type
public $flags

$implements 공개적으로 프로퍼티

Names of implemented interfaces
public $implements

$specialNames 보호되어 있는 정적으로 프로퍼티

protected static $specialNames

$type 공개적으로 프로퍼티

사용 중단: Use $flags instead
public $type