class ShellExec
Hierarchy
- class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
Expanded class hierarchy of ShellExec
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Expr/ ShellExec.php, line 8
Namespace
PhpParser\Node\ExprView source
class ShellExec extends Expr {
/** @var (Expr|InterpolatedStringPart)[] Interpolated string array */
public array $parts;
/**
* Constructs a shell exec (backtick) node.
*
* @param (Expr|InterpolatedStringPart)[] $parts Interpolated string array
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(array $parts, array $attributes = []) {
$this->attributes = $attributes;
$this->parts = $parts;
}
public function getSubNodeNames() : array {
return [
'parts',
];
}
public function getType() : string {
return 'Expr_ShellExec';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
ShellExec::$parts | public | property | @var (Expr|InterpolatedStringPart)[] Interpolated string array |
ShellExec::getSubNodeNames | public | function | |
ShellExec::getType | public | function | |
ShellExec::__construct | public | function | Constructs a shell exec (backtick) node. |