<?php
namespace ConcreteCoreCaptcha;
class Service {
public function __call($nm, $args) {
if (!isset($this->controller)) {
$captcha = ConcreteCoreCaptchaLibrary::getActive();
$this->controller = $captcha->getController();
}
if (method_exists($this->controller, $nm)) {
return call_user_func_array(array($this->controller, $nm), $args);
}
}
}