/** * Gets the captcha module. * * @return Module */ public function getModule() { return Module::getInstance(); }
/** * @inheritdoc * * Configuration array to create the action is provided in the Module class. * * @return array */ public function actions() { return ['index' => Module::getInstance()->captchaAction]; }