src/voku/helper/HtmlDomParser.php 1 location
|
@@ 153-163 (lines=11) @@
|
150 |
|
* |
151 |
|
* @return bool|mixed |
152 |
|
*/ |
153 |
|
public function __call($name, $arguments) |
154 |
|
{ |
155 |
|
$name = \strtolower($name); |
156 |
|
|
157 |
|
if (isset(self::$functionAliases[$name])) { |
158 |
|
return \call_user_func_array([$this, self::$functionAliases[$name]], $arguments); |
159 |
|
} |
160 |
|
|
161 |
|
throw new \BadMethodCallException('Method does not exist: ' . $name); |
162 |
|
} |
163 |
|
|
164 |
|
/** |
165 |
|
* @param $name |
166 |
|
* @param $arguments |
src/voku/helper/SimpleHtmlDom.php 1 location
|
@@ 73-82 (lines=10) @@
|
70 |
|
* |
71 |
|
* @return SimpleHtmlDom|string|null |
72 |
|
*/ |
73 |
|
public function __call($name, $arguments) |
74 |
|
{ |
75 |
|
$name = \strtolower($name); |
76 |
|
|
77 |
|
if (isset(self::$functionAliases[$name])) { |
78 |
|
return \call_user_func_array([$this, self::$functionAliases[$name]], $arguments); |
79 |
|
} |
80 |
|
|
81 |
|
throw new BadMethodCallException('Method does not exist'); |
82 |
|
} |
83 |
|
|
84 |
|
/** |
85 |
|
* @param string $name |