Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
PhpParser
Node
Stmt
Interface_
PHP Class PhpParser\Node\Stmt\Interface_
Inheritance:
extends
ClassLike
显示文件
Open project: nikic/php-parser
Class Usage Examples
Public Properties
Property
Type
Description
$extends
Extended interfaces
Public Methods
Method
Description
__construct
(
string
$name
,
array
$subNodes
= [],
array
$attributes
= [] )
Constructs a class node.
getSubNodeNames
( )
Method Details
__construct()
public
method
Constructs a class node.
public
__construct
(
string
$name
,
array
$subNodes
= [],
array
$attributes
= [] )
$name
string
Name
$subNodes
array
Array of the following optional subnodes: 'extends' => array(): Name of extended interfaces 'stmts' => array(): Statements
$attributes
array
Additional attributes
getSubNodeNames()
public
method
public
getSubNodeNames
( )
Property Details
$extends
public_oe property
Extended interfaces
public
$extends