1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-04 18:28:25 +01:00
PHP-Parser/lib/PHPParser/Node/Stmt/Property.php
2011-10-15 19:28:15 +02:00

26 lines
862 B
PHP

<?php
/**
* @property int $type Modifiers
* @property PHPParser_Node_Stmt_PropertyProperty[] $props Properties
*/
class PHPParser_Node_Stmt_Property extends PHPParser_Node_Stmt
{
/**
* Constructs a class property list node.
*
* @param int $type Modifiers
* @param PHPParser_Node_Stmt_PropertyProperty[] $props Properties
* @param int $line Line
* @param null|string $docComment Nearest doc comment
*/
public function __construct($type, array $props, $line = -1, $docComment = null) {
parent::__construct(
array(
'type' => $type,
'props' => $props,
),
$line, $docComment
);
}
}