src/voku/helper/HtmlDomParser.php 1 location
|
@@ 138-140 (lines=3) @@
|
| 135 |
|
{ |
| 136 |
|
$name = strtolower($name); |
| 137 |
|
|
| 138 |
|
if (isset(self::$functionAliases[$name])) { |
| 139 |
|
return call_user_func_array(array($this, self::$functionAliases[$name]), $arguments); |
| 140 |
|
} |
| 141 |
|
|
| 142 |
|
throw new BadMethodCallException('Method does not exist: ' . $name); |
| 143 |
|
} |
src/voku/helper/SimpleHtmlDom.php 1 location
|
@@ 77-79 (lines=3) @@
|
| 74 |
|
*/ |
| 75 |
|
public function __call($name, $arguments) |
| 76 |
|
{ |
| 77 |
|
if (isset(self::$functionAliases[$name])) { |
| 78 |
|
return call_user_func_array(array($this, self::$functionAliases[$name]), $arguments); |
| 79 |
|
} |
| 80 |
|
|
| 81 |
|
throw new BadMethodCallException('Method does not exist'); |
| 82 |
|
} |