protected function initRecaptcha() { $this->di->setShared('recaptcha', function () { return new ReCaptcha(); }); }