PHPParser_Node_Stmt_Property::__construct PHP Method

__construct() public method

Constructs a class property list node.
public __construct ( integer $type, array $props, integer $line, null | string $docComment = null )
$type integer Modifiers
$props array Properties
$line integer Line
$docComment null | string Nearest doc comment
    public function __construct($type, array $props, $line = -1, $docComment = null)
    {
        parent::__construct(array('type' => $type, 'props' => $props));
    }
PHPParser_Node_Stmt_Property