php-parser/lib/PHPParser/Node/Stmt/Static.php

23 lines
669 B
PHP
Raw Normal View History

<?php
2011-05-29 12:20:47 +02:00
/**
* @property PHPParser_Node_Stmts_StaticVar[] $vars Variable definitions
2011-05-29 12:20:47 +02:00
*/
2011-06-05 18:40:04 +02:00
class PHPParser_Node_Stmt_Static extends PHPParser_Node_Stmt
{
/**
* Constructs a static variables list node.
*
* @param PHPParser_Node_Stmts_StaticVar[] $vars Variable definitions
* @param int $line Line
* @param null|string $docComment Nearest doc comment
*/
public function __construct(array $vars, $line = -1, $docComment = null) {
parent::__construct(
array(
'vars' => $vars,
),
$line, $docComment
);
}
}