src/voku/helper/HtmlDomParser.php 1 location
|
@@ 99-106 (lines=8) @@
|
96 |
|
* |
97 |
|
* @return bool|mixed |
98 |
|
*/ |
99 |
|
public function __call($name, $arguments) |
100 |
|
{ |
101 |
|
if (isset(self::$functionAliases[$name])) { |
102 |
|
return call_user_func_array(array($this, self::$functionAliases[$name]), $arguments); |
103 |
|
} |
104 |
|
|
105 |
|
throw new BadMethodCallException('Method does not exist: ' . $name); |
106 |
|
} |
107 |
|
|
108 |
|
/** |
109 |
|
* @param $name |
src/voku/helper/SimpleHtmlDom.php 1 location
|
@@ 67-73 (lines=7) @@
|
64 |
|
* @return null|string|SimpleHtmlDom |
65 |
|
* |
66 |
|
*/ |
67 |
|
public function __call($name, $arguments) |
68 |
|
{ |
69 |
|
if (isset(self::$functionAliases[$name])) { |
70 |
|
return call_user_func_array(array($this, self::$functionAliases[$name]), $arguments); |
71 |
|
} |
72 |
|
throw new BadMethodCallException('Method does not exist'); |
73 |
|
} |
74 |
|
|
75 |
|
/** |
76 |
|
* @param $name |