1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-11 17:09:41 +01:00
PHP-Parser/lib/PhpParser/Node/Stmt/HaltCompiler.php

26 lines
606 B
PHP
Raw Normal View History

2011-06-03 22:02:02 +02:00
<?php
namespace PhpParser\Node\Stmt;
use PhpParser\Node\Stmt;
2011-06-03 22:02:02 +02:00
/**
* @property string $remaining Remaining text after halt compiler statement.
*/
class HaltCompiler extends Stmt
2011-06-03 22:02:02 +02:00
{
/**
* Constructs a __halt_compiler node.
*
* @param string $remaining Remaining text after halt compiler statement.
* @param array $attributes Additional attributes
*/
public function __construct($remaining, array $attributes = array()) {
parent::__construct(
array(
'remaining' => $remaining,
),
$attributes
);
}
2011-06-03 22:02:02 +02:00
}