PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.6.2
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.6.2
4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.5.2 All 199 releases
betterdocs / includes / Dependencies / PhpParser / Node / Expr / MethodCall.php

MethodCall.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.6.2, at includes/Dependencies/PhpParser/Node/Expr/MethodCall.php

36 lines 1014 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace WPDeveloper\BetterDocs\Dependencies\PhpParser\Node\Expr;
4
5 use WPDeveloper\BetterDocs\Dependencies\PhpParser\Node\Arg;
6 use WPDeveloper\BetterDocs\Dependencies\PhpParser\Node\Expr;
7
8 class MethodCall extends Expr
9 {
10 /** @var Expr Variable holding object */
11 public $var;
12 /** @var string|Expr Method name */
13 public $name;
14 /** @var Arg[] Arguments */
15 public $args;
16
17 /**
18 * Constructs a function call node.
19 *
20 * @param Expr $var Variable holding object
21 * @param string|Expr $name Method name
22 * @param Arg[] $args Arguments
23 * @param array $attributes Additional attributes
24 */
25 public function __construct(Expr $var, $name, array $args = array(), array $attributes = array()) {
26 parent::__construct($attributes);
27 $this->var = $var;
28 $this->name = $name;
29 $this->args = $args;
30 }
31
32 public function getSubNodeNames() {
33 return array('var', 'name', 'args');
34 }
35 }
36