PHP Class PhpParser\Node\Stmt\Property

Inheritance: extends PhpParser\Node\Stmt
ファイルを表示 Open project: nikic/php-parser Class Usage Examples

Public Properties

Property Type Description
$flags Modifiers
$props Properties
$type

Public Methods

Method Description
__construct ( integer $flags, array $props, array $attributes = [] ) Constructs a class property list node.
getSubNodeNames ( )
isPrivate ( )
isProtected ( )
isPublic ( )
isStatic ( )

Method Details

__construct() public method

Constructs a class property list node.
public __construct ( integer $flags, array $props, array $attributes = [] )
$flags integer Modifiers
$props array Properties
$attributes array Additional attributes

getSubNodeNames() public method

public getSubNodeNames ( )

isPrivate() public method

public isPrivate ( )

isProtected() public method

public isProtected ( )

isPublic() public method

public isPublic ( )

isStatic() public method

public isStatic ( )

Property Details

$flags public_oe property

Modifiers
public $flags

$props public_oe property

Properties
public $props

$type public_oe property

Deprecation: Use $flags instead
public $type