Total Complexity | 8 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | abstract class BaseController extends Controller |
||
23 | { |
||
24 | // Public Methods |
||
25 | // ========================================================================= |
||
26 | |||
27 | /** |
||
28 | * Check if social registration is enabled. |
||
29 | * |
||
30 | * @param $settings |
||
31 | * |
||
32 | * @throws RegistrationException |
||
33 | */ |
||
34 | public function checkRegistrationEnabled($settings) |
||
38 | } |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Check locked domains. |
||
43 | * |
||
44 | * @param $email |
||
45 | * |
||
46 | * @throws RegistrationException |
||
47 | */ |
||
48 | public function checkLockedDomains($email) |
||
67 |