| 1 | <?php |
||
| 9 | class MemberAuthenticatorWithSignup extends Authenticator |
||
|
|
|||
| 10 | { |
||
| 11 | |||
| 12 | |||
| 13 | /** |
||
| 14 | * Method that creates the login form for this authentication method |
||
| 15 | * |
||
| 16 | * @param Controller The parent controller, necessary to create the |
||
| 17 | * appropriate form action tag |
||
| 18 | * @return Form Returns the login form to use with this authentication |
||
| 19 | * method |
||
| 20 | */ |
||
| 21 | public static function get_login_form(Controller $controller) |
||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * Get the name of the authentication method |
||
| 30 | * |
||
| 31 | * @return string Returns the name of the authentication method. |
||
| 32 | */ |
||
| 33 | public static function get_name() |
||
| 41 | |||
| 42 | |||
| 43 | public static function authenticate($RAW_data, Form $form = null) |
||
| 47 | } |
||
| 48 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.