2011-05-27 18:20:44 +02:00
|
|
|
<?php
|
|
|
|
|
2011-05-29 19:38:04 +02:00
|
|
|
/**
|
|
|
|
* @property array $parts Encapsed string array
|
|
|
|
*/
|
2011-06-05 18:40:04 +02:00
|
|
|
class PHPParser_Node_Expr_ShellExec extends PHPParser_Node_Expr
|
2011-05-27 18:20:44 +02:00
|
|
|
{
|
2011-08-11 10:25:51 +02:00
|
|
|
/**
|
|
|
|
* Constructs a shell exec (backtick) node.
|
|
|
|
*
|
|
|
|
* @param array $parts Encapsed string array
|
|
|
|
* @param int $line Line
|
|
|
|
* @param null|string $docComment Nearest doc comment
|
|
|
|
*/
|
|
|
|
public function __construct($parts, $line = -1, $docComment = null) {
|
|
|
|
parent::__construct(
|
|
|
|
array(
|
|
|
|
'parts' => $parts
|
|
|
|
),
|
|
|
|
$line, $docComment
|
|
|
|
);
|
|
|
|
}
|
2011-05-27 18:20:44 +02:00
|
|
|
}
|