/** * Returns an instance of class. * * @return OCSAFFILIATES_BOL_ResetPasswordDao */ public static function getInstance() { if (self::$classInstance === null) { self::$classInstance = new self(); } return self::$classInstance; }
/** * @param $resetCodeId */ public function deleteResetCode($resetCodeId) { $this->resetPasswordDao->deleteById($resetCodeId); }