public function Unit::__call in TacJS 8
File
- src/
Unit.php, line 12
Class
- Unit
- Defines a Unit class.
Namespace
Drupal\tacjsCode
public function __call($method, array $args = array()) {
if (!method_exists($this, $method)) {
throw new BadMethodCallException("method '{$method}' does not exist");
}
return call_user_func_array(array(
$this,
$method,
), $args);
}