Version 1
[yaffs-website] / vendor / nikic / php-parser / lib / PhpParser / Node / Expr / ShellExec.php
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ShellExec.php b/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ShellExec.php
new file mode 100644 (file)
index 0000000..9516a32
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+namespace PhpParser\Node\Expr;
+
+use PhpParser\Node\Expr;
+
+class ShellExec extends Expr
+{
+    /** @var array Encapsed string array */
+    public $parts;
+
+    /**
+     * Constructs a shell exec (backtick) node.
+     *
+     * @param array $parts      Encapsed string array
+     * @param array $attributes Additional attributes
+     */
+    public function __construct(array $parts, array $attributes = array()) {
+        parent::__construct($attributes);
+        $this->parts = $parts;
+    }
+
+    public function getSubNodeNames() {
+        return array('parts');
+    }
+}