src/voku/helper/SimpleHtmlDom.php 1 location
|
@@ 74-83 (lines=10) @@
|
71 |
|
* @return null|string|SimpleHtmlDom |
72 |
|
* |
73 |
|
*/ |
74 |
|
public function __call($name, $arguments) |
75 |
|
{ |
76 |
|
$name = strtolower($name); |
77 |
|
|
78 |
|
if (isset(self::$functionAliases[$name])) { |
79 |
|
return call_user_func_array(array($this, self::$functionAliases[$name]), $arguments); |
80 |
|
} |
81 |
|
|
82 |
|
throw new BadMethodCallException('Method does not exist'); |
83 |
|
} |
84 |
|
|
85 |
|
/** |
86 |
|
* @param $name |
src/voku/helper/HtmlDomParser.php 1 location
|
@@ 139-148 (lines=10) @@
|
136 |
|
* |
137 |
|
* @return bool|mixed |
138 |
|
*/ |
139 |
|
public function __call($name, $arguments) |
140 |
|
{ |
141 |
|
$name = strtolower($name); |
142 |
|
|
143 |
|
if (isset(self::$functionAliases[$name])) { |
144 |
|
return call_user_func_array(array($this, self::$functionAliases[$name]), $arguments); |
145 |
|
} |
146 |
|
|
147 |
|
throw new BadMethodCallException('Method does not exist: ' . $name); |
148 |
|
} |
149 |
|
|
150 |
|
/** |
151 |
|
* @param $name |