Skip to content

Commit 3e4e5a9

Browse files
committed
Create Services.php
1 parent 7653680 commit 3e4e5a9

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CIMultiCaptcha/Config/Services.php

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
3+
namespace CIMC\Config;
4+
5+
use CodeIgniter\Config\BaseService;
6+
7+
/**
8+
* --------------------------------------------------------------------------
9+
* CodeIgniter Multi Captcha (CIMC) Services Configuration file
10+
* --------------------------------------------------------------------------
11+
*
12+
* @package CodeIgniter-Multi-Captcha(CIMC)
13+
* @collection Best Datamweb Tools CI4(BDT-CI4)
14+
* @author Pooya Parsa Dadashi(@datamweb)
15+
* @link https://datamweb.ir
16+
* @github_link https://github.com/datamweb/CodeIgniter-Multi-Captcha
17+
* @since Version 1.0.0
18+
* @datepublic 2022-02-19 | 1400/11/30
19+
*
20+
*/
21+
22+
class Services extends BaseService
23+
{
24+
//CI MULTI CAPTCHA
25+
public static function MutiCaptchCI($getShared = true)
26+
{
27+
if ($getShared) {
28+
return static::getSharedInstance('MutiCaptchCI');
29+
}
30+
return new \CIMC\Libraries\MultiCaptchaCI();
31+
}
32+
33+
}

0 commit comments

Comments
 (0)