| 1 |
<?php |
| 2 |
|
| 3 |
namespace Give\DonationForms\ValueObjects; |
| 4 |
|
| 5 |
use Give\Framework\Support\ValueObjects\Enum; |
| 6 |
|
| 7 |
/** |
| 8 |
* @since 3.0.0 |
| 9 |
* |
| 10 |
* @method static RegistrationOptions NONE() |
| 11 |
* @method static RegistrationOptions REGISTRATION() |
| 12 |
* @method static RegistrationOptions LOGIN() |
| 13 |
* @method static RegistrationOptions REGISTRATION_LOGIN() |
| 14 |
* @method bool isNone() |
| 15 |
* @method bool isRegistration() |
| 16 |
* @method bool isLogin() |
| 17 |
* @method bool isRegisterAndLogin() |
| 18 |
*/ |
| 19 |
class RegistrationOptions extends Enum |
| 20 |
{ |
| 21 |
const NONE = 'none'; |
| 22 |
const REGISTRATION = 'registration'; |
| 23 |
const LOGIN = 'login'; |
| 24 |
const REGISTRATION_LOGIN = 'register_and_login'; |
| 25 |
} |
| 26 |
|